AppFabric安装失败,因为安装程序MSI返回错误代码:1603

Jim*_*ogi 60 windows-installer appfabric

当我重新安装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 =====


Boz*_*Joe 117

我遇到了类似的问题

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\v1.0\Modules \; C:\ Program Files(x86)\ Microsoft SQL Server\110\Tools\PowerShell\Modules"

删除无关的"纠正了问题

要更改此设置,请转到控制面板 - > 系统 - > 高级系统设置 - >在高级选项卡上选择环境变量 - >在系统变量下有一个名为PSModulePath的变量,选择它 - >单击编辑 - >删除尾随"

系统属性

  • 这解决了我的问题.谢谢! (3认同)
  • 在Windows 10上,您可能无法查看和更改变量中的错误条目,除非您单击**编辑文本...** (3认同)

小智 20

我在部署中修复了这个错误.如果我之前运行过安装程序,它只会发生在我身上.一旦启动安装程序,它将创建一个临时文件夹.复制该文件夹并使用其他名称将其保存.现在取消该安装.

打开Regedit并搜索(CTRL + F)"AppFabric".您应该在HKEY_CLASSES_ROOT\Installer\Products {SomeStringOfCharacters}下找到一个条目.在那个检查SourceList下,它将有一个名为LastUsedSource的Key.更新其中的文件夹路径以匹配我们刚刚保存的临时文件夹.还要检查SourceList/Net.它可能有多个带有数字名称的键.确保它们的数据值也与临时文件夹路径匹配.

现在进入临时文件夹并运行Setup.exe.它应该现在完成.我已经看到这样的行为与其他安装程序首先将文件提取到临时文件夹.重新运行安装程序主要是从新的临时文件夹工作,但它的某些方面保留在注册表中的旧临时文件夹,并尝试从旧位置加载一些东西.


Gui*_*OND 14

我试图在运行Windows 8的开发计算机上重新安装AppFabric 1.1,我收到此错误.我在这里发现添加这个:

%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\  
Run Code Online (Sandbox Code Playgroud)

PSModulePath(系统属性 - >环境变量 - >系统变量)解决了我的问题.


aso*_*ent 6

在我的情况下,它是一个本地组,它通过以前的安装已经存在。删除 localgroup (AS_Observers) 解决了我的问题。

net localgroup AS_Observers /delete

希望这可以帮助某人。


Ern*_*ieL 5

我也遇到了这个错误......

安装msi将尝试在Windows任务计划程序中创建一个新任务,以提醒您提供客户反馈.无论您是否单击复选框参与客户反馈,都会执行此安装步骤.在许多企业环境(包括我的)中,除了域管理员之外,所有窗口任务都被拒绝.因此,作为本地管理员运行是不够的,并且在添加任务时整个安装失败会返回"拒绝访问".这在1603的安装日志中显示.

我们能找到的唯一解决方法是手动从msi中提取所有文件,从安装脚本中删除"添加计划任务",然后创建一个新的msi.在那一行更改之后,它运行正常.


Mik*_*l X 5

看起来我得到了该安装的所有可能问题.

故障排除:查看实际日志文件(在安装程序提供的日志中查找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
Run Code Online (Sandbox Code Playgroud)

找到实际的日志文件后,检查错误.我不得不:

  1. 无法创建AS_Observer:
    • 执行:c:\ Windows\system32 \net.exe localgroup AS_Observers/delete
  2. 无法在config文件夹上设置ACL:
    • 执行:md C:\ Windows\SysWOW64\inetsrv\config
  3. COM未注册:
    • 安装.NET 3.5的激活服务功能(HTTP和非HTTP)并为.NET 4.5启用HTTP激活

完成.希望有所帮助.