当我重新安装 AppFabric 1.1 时,为什么我会收到此错误 “AppFabric 安装失败,因为安装程序 MSI 返回错误代码:1603”.?
我确实以管理权限运行它。
下面是错误日志。
2012-06-26 18:20:07, Information Setup ===== Logging started: 2012-06-26 18:20:07+08:00 =====
2012-06-26 18:20:07, Information Setup File: c:\a0ddcd54d09ca070ef\setup.exe
2012-06-26 18:20:07, Information Setup InternalName: Setup.exe
2012-06-26 18:20:07, Information Setup OriginalFilename: Setup.exe
2012-06-26 18:20:07, Information Setup FileVersion: 1.1.2106.32
2012-06-26 18:20:07, Information Setup FileDescription: Setup.exe
2012-06-26 18:20:07, Information Setup Product: Microsoft(R) Windows(R) Server AppFabric
2012-06-26 18:20:07, Information Setup ProductVersion: 1.1.2106.32
2012-06-26 18:20:07, Information Setup Debug: False
2012-06-26 18:20:07, Information Setup Patched: False
2012-06-26 18:20:07, Information Setup PreRelease: False
2012-06-26 18:20:07, Information Setup PrivateBuild: False
2012-06-26 18:20:07, Information Setup SpecialBuild: False
2012-06-26 18:20:07, Information Setup Language: Language Neutral
2012-06-26 18:20:07, Information Setup
2012-06-26 18:20:07, Information Setup OS Name: Windows 7 Ultimate
2012-06-26 18:20:07, Information Setup OS Edition: Ultimate
2012-06-26 18:20:07, Information Setup OSVersion: Microsoft Windows NT 6.1.7601 Service Pack 1
2012-06-26 18:20:07, Information Setup CurrentCulture: en-US
2012-06-26 18:20:07, Information Setup Processor Architecture: x86
2012-06-26 18:20:07, Information Setup Event Registration Source : AppFabric_Setup
2012-06-26 18:20:07, Information Setup
2012-06-26 18:20:07, Information Setup Microsoft.ApplicationServer.Setup.Upgrade.V1UpgradeSetupModule : Initiating V1.0 Upgrade module.
2012-06-26 18:20:07, Information Setup Microsoft.ApplicationServer.Setup.Upgrade.V1UpgradeSetupModule : V1.0 is not installed.
2012-06-26 18:20:33, Information Setup Microsoft.ApplicationServer.Setup.Upgrade.V1UpgradeSetupModule : Initiating V1 Upgrade pre-install.
2012-06-26 18:20:33, Information Setup Microsoft.ApplicationServer.Setup.Upgrade.V1UpgradeSetupModule : V1.0 is not installed, not taking backup.
2012-06-26 18:20:33, Information Setup Enumerating Windows features
2012-06-26 18:20:36, Information Setup Executing c:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe with commandline -iru.
2012-06-26 18:20:46, Information Setup Return code from aspnet_regiis.exe is 0
2012-06-26 18:20:46, Information Setup Windows features successfully enabled.
2012-06-26 18:20:46, Information Setup Process.Start: C:\Windows\system32\msiexec.exe /quiet /norestart /i "c:\a0ddcd54d09ca070ef\Packages\AppFabric-1.1-for-Windows-Server-32.msi" ADDDEFAULT=Worker,WorkerAdmin,CacheClient,Setup /l*vx "C:\Users\COMPUTER-Name\AppData\Local\Temp\AppServerSetup1_1(2012-06-26 18-20-46).log" LOGFILE="C:\Users\COMPUTER-Name\AppData\Local\Temp\AppServerSetup1_1_CustomActions(2012-06-26 18-20-46).log" INSTALLDIR="C:\Program Files\AppFabric 1.1 for Windows Server" LANGID=en-US
2012-06-26 18:21:46, Information Setup Process.ExitCode: 0x00000643
2012-06-26 18:21:46, Error Setup AppFabric installation failed because installer MSI returned with error code : 1603
2012-06-26 18:21:46, Error Setup
2012-06-26 18:21:46, Error Setup AppFabric installation failed because installer MSI returned with error code : 1603
2012-06-26 18:21:46, Error Setup
2012-06-26 18:21:46, Information Setup Microsoft.ApplicationServer.Setup.Core.SetupException: AppFabric installation failed because installer MSI returned with error code : 1603
2012-06-26 18:21:46, Information Setup at Microsoft.ApplicationServer.Setup.Installer.WindowsInstallerProxy.GenerateAndThrowSetupException(Int32 exitCode, LogEventSource logEventSource)
2012-06-26 18:21:46, Information Setup at Microsoft.ApplicationServer.Setup.Installer.WindowsInstallerProxy.Invoke(LogEventSource logEventSource, InstallMode installMode, String packageIdentity, List`1 updateList, List`1 customArguments)
2012-06-26 18:21:46, Information Setup at Microsoft.ApplicationServer.Setup.Installer.MsiInstaller.InstallSelectedFeatures()
2012-06-26 18:21:46, Information Setup at Microsoft.ApplicationServer.Setup.Installer.MsiInstaller.Install()
2012-06-26 18:21:46, Information Setup at Microsoft.ApplicationServer.Setup.Client.SetupWorkflow.StartActionPhase()
2012-06-26 18:21:46, Information Setup at Microsoft.ApplicationServer.Setup.Client.ProgressPage.StartAction()
2012-06-26 18:21:46, Information Setup
2012-06-26 18:21:46, Information Setup === Summary of Actions ===
2012-06-26 18:21:46, Information Setup Required Windows components : Completed Successfully
2012-06-26 18:21:46, Information Setup Microsoft .NET Framework 3.5.1 : Completed Successfully
2012-06-26 18:21:46, Information Setup Windows Communication Foundation Non-HTTP Activation : Completed Successfully
2012-06-26 18:21:46, Information Setup IIS Management Console : Completed Successfully
2012-06-26 18:21:46, Information Setup AppFabric 1.1 for Windows Server : Failed
2012-06-26 18:21:46, Information Setup Hosting Services : Failed
2012-06-26 18:21:46, Information Setup Cache Client : Failed
2012-06-26 18:21:46, Information Setup Hosting Administration : Failed
2012-06-26 18:21:46, Information Setup Microsoft Update : Skipped
2012-06-26 18:21:46, Information Setup Microsoft Update : Skipped
2012-06-26 18:21:46, Information Setup
2012-06-26 18:21:46, Information Setup ===== Logging stopped: 2012-06-26 18:21:46+08:00 =====
我有类似的问题
9/21/2012 11:28:01 AM EXEPATH=powershell.exe PARAMS=-command "$str = [System.Environment]::GetEnvironmentVariable(\"PSModulePath\", [System.EnvironmentVariableTarget]::Machine); $str = $str+\";c:\Program Files\AppFabric 1.1 for Windows Server\PowershellModules\"; c:\Windows\system32\setx.exe /M PSModulePath \"$str\"" LOGFILE=C:\Users\XXXXXXX\AppData\Local\Temp\AppServerSetup1_1_CustomActions(2012-09-21 11-27-26).log
Error: ERROR: Invalid syntax. Default option is not allowed more than '2' time(s).
Error: Type "SETX /?" for usage.
我的问题是 PSModulePath 中的 " 不正确
是:
C:\Windows\system32\WindowsPowerShell 1.0\Modules\;C:\Program Files (x86)\Microsoft SQL ServerH\Tools\PowerShell\Modules"
删除无关的“更正了问题
要更改此设置,请转到控制面板->系统->高级系统设置->在高级选项卡上选择环境变量->在系统变量下有一个名为PSModulePath的变量, 选择它 -> 单击 Edit -> 删除尾随“
我在我的部署中修复了这个错误。如果我之前运行过一次安装程序,它只会发生在我身上。一旦启动安装程序,它就会创建一个临时文件夹。复制该文件夹并用不同的名称保存它。现在取消那个安装。
打开 Regedit 并搜索 (CTRL+F)“AppFabric”。您应该在 HKEY_CLASSES_ROOT\Installer\Products{SomeStringOfCharacters} 下找到一个条目。在该检查 SourceList 下,它将有一个名为 LastUsedSource 的键。更新其中的文件夹路径以匹配我们刚刚保存的临时文件夹。还要检查 SourceList/Net。它可能有多个带有数字名称的键。确保它们的数据值也与您的临时文件夹路径匹配。
现在进入您的临时文件夹并运行 Setup.exe。现在应该完成了。我在其他首先将文件提取到临时文件夹的安装程序中看到过类似的行为。重新运行安装程序主要是从新的临时文件夹开始工作,但它的某些方面保留在注册表中的旧临时文件夹并尝试从旧位置加载一些东西。
我试图在运行 Windows 8 的开发计算机上重新安装 AppFabric 1.1,但出现此错误。我发现here添加这个:
%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\
到PSModulePath(系统属性->环境变量->系统变量)解决了我的问题。
看起来我遇到了该安装的所有可能问题。
故障排除:查看实际日志文件(在安装程序提供的日志中查找 LOGFILE=...):
Process.Start: C:\Windows\system32\msiexec.exe /quiet /norestart /i "c:\2964b29c3cd7dcb37c9e\Packages\AppFabric-1.1-for-Windows-Server-64.msi" ADDDEFAULT=Worker,WorkerAdmin,CacheService,CacheClient,CacheAdmin,Setup /l*vx "c:\Temp\AppServerSetup1_1(2014-07-09 11-58-09).log" LOGFILE="c:\Temp\AppServerSetup1_1_CustomActions(2014-07-09 11-58-09).log" INSTALLDIR="C:\Program Files\AppFabric 1.1 for Windows Server" LANGID=en-US
找到实际的日志文件后,检查错误。 我不得不: