AppFabric 安装失败,因为安装程序 MSI 在 Windows 2012 返回错误代码:1638

AppFabric installation failed because installer MSI returned with error code : 1638 on Windows 2012

当我重新安装 AppFabric 1.1 时,为什么会出现此错误 "AppFabric installation failed because installer MSI returned with error code : 1638"。?于 windows 2012

ERROR_PRODUCT_VERSION1638 已经安装了该产品的另一个版本。此版本的安装无法继续。要配置或删除此产品的现有版本,请使用控制面板中的 Add/Remove 个程序。

请在下面找到错误消息

2016-05-20 15:53:31, Information           Setup  ===== Logging started: 2016-05-20 15:53:31+01:00 =====
2016-05-20 15:53:31, Information           Setup  File:             c:a6b404fe782aa890e7e0d\setup.exe
2016-05-20 15:53:31, Information           Setup  InternalName:     Setup.exe
2016-05-20 15:53:31, Information           Setup  OriginalFilename: Setup.exe
2016-05-20 15:53:31, Information           Setup  FileVersion:      1.1.2106.32
2016-05-20 15:53:31, Information           Setup  FileDescription:  Setup.exe
2016-05-20 15:53:31, Information           Setup  Product:          Microsoft(R) Windows(R) Server AppFabric
2016-05-20 15:53:31, Information           Setup  ProductVersion:   1.1.2106.32
2016-05-20 15:53:31, Information           Setup  Debug:            False
2016-05-20 15:53:31, Information           Setup  Patched:          False
2016-05-20 15:53:31, Information           Setup  PreRelease:       False
2016-05-20 15:53:31, Information           Setup  PrivateBuild:     False
2016-05-20 15:53:31, Information           Setup  SpecialBuild:     False
2016-05-20 15:53:31, Information           Setup  Language:         Language Neutral
2016-05-20 15:53:31, Information           Setup  
2016-05-20 15:53:31, Information           Setup  OS Name:                   Windows Server 2012 R2 Standard
2016-05-20 15:53:31, Information           Setup  OS Edition:                ServerStandard
2016-05-20 15:53:31, Information           Setup  OSVersion:                 Microsoft Windows NT 6.2.9200.0
2016-05-20 15:53:31, Information           Setup  CurrentCulture:            en-US
2016-05-20 15:53:31, Information           Setup  Processor Architecture:    AMD64
2016-05-20 15:53:31, Information           Setup  Event Registration Source :    AppFabric_Setup
2016-05-20 15:53:31, Information           Setup  
2016-05-20 15:53:31, Information           Setup  Microsoft.ApplicationServer.Setup.Upgrade.V1UpgradeSetupModule : Initiating V1.0 Upgrade module.
2016-05-20 15:53:31, Information           Setup  Microsoft.ApplicationServer.Setup.Upgrade.V1UpgradeSetupModule : V1.0 is not installed.
2016-05-20 15:53:42, Information           Setup  Microsoft.ApplicationServer.Setup.Upgrade.V1UpgradeSetupModule : Initiating V1 Upgrade pre-install.
2016-05-20 15:53:42, Information           Setup  Microsoft.ApplicationServer.Setup.Upgrade.V1UpgradeSetupModule : V1.0 is not installed, not taking backup.
2016-05-20 15:53:42, Information           Setup  Executing C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe with commandline -iru.
2016-05-20 15:53:42, Information           Setup  Return code from aspnet_regiis.exe is 0
2016-05-20 15:53:42, Information           Setup  Windows features successfully enabled.
2016-05-20 15:53:42, Information           Setup  Process.Start: C:\Windows\system32\msiexec.exe /quiet /norestart /i "c:a6b404fe782aa890e7e0d\Packages\AppFabric-1.1-for-Windows-Server-64.msi" ADDDEFAULT=Worker,WorkerAdmin,CacheClient,Setup /l*vx "C:\Users\a.Sainathan.Balasund\AppData\Local\Temp\AppServerSetup1_1(2016-05-20 15-53-42).log" LOGFILE="C:\Users\a.Sainathan.Balasund\AppData\Local\Temp\AppServerSetup1_1_CustomActions(2016-05-20 15-53-42).log" INSTALLDIR="C:\Program Files\AppFabric 1.1 for Windows Server" LANGID=en-US
2016-05-20 15:53:42, Information           Setup  Process.ExitCode: 0x00000666
2016-05-20 15:53:42, Error                 Setup  AppFabric installation failed because installer MSI returned with error code : 1638
2016-05-20 15:53:42, Error                 Setup  
2016-05-20 15:53:42, Error                 Setup  AppFabric installation failed because installer MSI returned with error code : 1638
2016-05-20 15:53:42, Error                 Setup  
2016-05-20 15:53:42, Information           Setup  Microsoft.ApplicationServer.Setup.Core.SetupException: AppFabric installation failed because installer MSI returned with error code : 1638
2016-05-20 15:53:42, Information           Setup     at Microsoft.ApplicationServer.Setup.Installer.WindowsInstallerProxy.GenerateAndThrowSetupException(Int32 exitCode, LogEventSource logEventSource)
2016-05-20 15:53:42, Information           Setup     at Microsoft.ApplicationServer.Setup.Installer.WindowsInstallerProxy.Invoke(LogEventSource logEventSource, InstallMode installMode, String packageIdentity, List`1 updateList, List`1 customArguments)
2016-05-20 15:53:42, Information           Setup     at Microsoft.ApplicationServer.Setup.Installer.MsiInstaller.InstallSelectedFeatures()
2016-05-20 15:53:42, Information           Setup     at Microsoft.ApplicationServer.Setup.Installer.MsiInstaller.Install()
2016-05-20 15:53:42, Information           Setup     at Microsoft.ApplicationServer.Setup.Client.ProgressPage.StartAction()
2016-05-20 15:53:42, Information           Setup  
2016-05-20 15:53:42, Information           Setup  === Summary of Actions ===
2016-05-20 15:53:42, Information           Setup  Required Windows components   :  Completed Successfully
2016-05-20 15:53:42, Information           Setup  IIS Management Console            :  Completed Successfully
2016-05-20 15:53:42, Information           Setup  AppFabric 1.1 for Windows Server  :  Failed
2016-05-20 15:53:42, Information           Setup  Hosting Services          :  Failed
2016-05-20 15:53:42, Information           Setup  Cache Client          :  Failed
2016-05-20 15:53:42, Information           Setup  Hosting Administration            :  Failed
2016-05-20 15:53:42, Information           Setup  Microsoft Update  :  Skipped
2016-05-20 15:53:42, Information           Setup  Microsoft Update          :  Skipped
2016-05-20 15:53:42, Information           Setup  
2016-05-20 15:53:42, Information           Setup  ===== Logging stopped: 2016-05-20 15:53:42+01:00 =====

我假设应用程序没有适当的修复(升级?)机制。不熟悉 AppFabric 本身,但为了重新安装它,我想您必须通过 ARP 将其删除并重新安装。只需确保备份必要的配置。

您还可以在安装程序日志中找到一些详细信息:C:\Users\a.Sainathan.Balasund\AppData\Local\Temp\AppServerSetup1_1(2016-05-20 15-53-42).log

另一方面,您可以使用安装程序 msi。从你的日志中我可以看到:

Process.Start: C:\Windows\system32\msiexec.exe /quiet /norestart /i "c:a6b404fe782aa890e7e0d\Packages\AppFabric-1.1-for-Windows-Server-64.msi" ADDDEFAULT=Worker,WorkerAdmin,CacheClient,Setup /l*vx "C:\Users\a.Sainathan.Balasund\AppData\Local\Temp\AppServerSetup1_1(2016-05-20 15-53-42).log" LOGFILE ="C:\Users\a.Sainathan.Balasund\AppData\Local\Temp\AppServerSetup1_1_CustomActions(2016-05-20 15-53-42).log" INSTALLDIR="C:\Program Files\AppFabric 1.1 for Windows Server" LANGID=en-US

从 c:a6b404fe782aa890e7e0d\Packages\AppFabric-1.1-for-Windows-Server-64.msi 的某个安全位置复制它,并关闭安装程序。

然后启动原始 MSI 并尝试 运行 手动启动它(就像双击一样)它应该 运行 在维护模式下并执行 repair/reinstall。

如果相应的按钮可用,您也可以尝试从添加/删除程序启动 repair/reinstall,但如果没有,很可能安装程序没有正确配置它。

我通过以下参考解决了这个问题。

https://serverfault.com/questions/583641/error-when-installing-appfabric-1-1-on-server-2012-64bit

谢谢