Windows installer AppFabric安装失败,因为安装程序MSI返回错误代码:1603
当我重新安装时,为什么会出现此错误“AppFabric安装失败,因为安装程序MSI返回了错误代码:1603” 我确实用管理权限运行了它 下面是错误日志Windows installer AppFabric安装失败,因为安装程序MSI返回错误代码:1603,windows-installer,appfabric,Windows Installer,Appfabric,当我重新安装时,为什么会出现此错误“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:
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 =====
我也犯了这个错误 安装msi将尝试在Windows任务计划程序中创建新任务,以提醒您向客户提供反馈。无论您是否单击复选框参与客户反馈,都将执行此安装步骤。在许多公司环境(包括我的)中,创建新的windows任务被拒绝,但域管理员除外。因此,作为本地管理员运行是不够的,添加任务时整个安装将失败,返回“拒绝访问”。这在安装日志中显示为1603
我们能找到的唯一解决方法是手动从msi中取出所有文件,从安装脚本中删除“添加计划任务”,然后创建一个新的msi。在那一行更改之后,它工作正常。我在部署中修复了这个错误。只有在我之前运行过一次安装程序时,才会出现这种情况。一旦启动安装程序,它将创建一个临时文件夹。复制该文件夹并用其他名称保存。现在取消安装 打开Regedit并搜索(CTRL+F)以查找“AppFabric”。您应该在HKEY_CLASSES_ROOT\Installer\Products{SomeStringOfCharacters}下找到一个条目。在该检查源列表下,它将有一个名为LastUsedSource的键。更新其中的文件夹路径以匹配我们刚刚保存的临时文件夹。还要检查SourceList/Net。它可能有多个带有数字名称的键。确保它们的数据值也与临时文件夹路径匹配
现在进入临时文件夹并运行Setup.exe。现在应该完成了。我在其他安装程序中看到过这样的行为,它们首先将文件解压缩到临时文件夹。重新运行安装程序主要从新的临时文件夹开始工作,但它的某些方面会保留注册表中的旧临时文件夹,并尝试从旧位置加载一些内容。我试图在运行Windows 8的开发人员计算机上重新安装AppFabric 1.1,但出现此错误。我发现添加以下内容:
%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\
toPSModulePath(系统属性->环境变量->系统变量)解决了我的问题。我也遇到了类似的问题
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\u 1\u CustomActions(2012-09-21 11-27-26)。日志
错误:错误:无效语法。默认选项不允许超过“2”个时间。
错误:键入“SETX/?”了解用法。
我的问题是PSModulePath中有一个不正确的
它是:
C:\Windows\system32\WindowsPowerShell\v1.0\Modules\;C:\Program Files(x86)\Microsoft SQL Server\110\Tools\PowerShell\Modules”
删除“无关”选项可以更正此问题
要更改此设置,请转到控制面板->系统->高级系统设置->在高级选项卡上选择环境变量->在系统变量下有一个名为PSModulePath的变量,选择它->单击编辑->删除尾随“
谢谢你的帮助 日志错误实际上告诉您该做什么。它正在抱怨,因为下面已经存在该文件 从以下位置删除“Consolidator”文件: C:\Windows\System32\Tasks\Microsoft\Windows\AppFabric\Customer Experience Improvement Program
由Charles Babcock,MCT提供我的问题是,任务计划程序“\Microsoft\Windows\AppFabric\Customer Experience Improvement Program\Consolidator”中已经有客户体验改善计划的任务。我删除了该任务,安装成功后。最后但并非最不重要的一点,我找到了此页面。原因和进一步解释都很完整
看来我在安装过程中遇到了所有可能的问题 疑难解答:查看实际日志文件(在安装程序提供的日志中查找日志文件=…): 找到实际日志文件后,检查错误。 我必须:
- Exec:c:\Windows\system32\net.exe本地组作为\u观察员/删除
- Exec:md C:\Windows\SysWOW64\inetsrv\config
- 为.NET 3.5安装激活服务功能(HTTP和非HTTP),并为.NET 4.5启用HTTP激活
完成了。希望能有所帮助。在我的例子中,它是一个本地组,在以前的安装中已经存在。删除localgroup(作为观察员)解决了我的问题 net本地组作为\u观察员/删除 希望这能对某人有所帮助。在我的情况下: -我的系统帐户包含两个单词——名称和姓氏,如“Vasya Pupkin”,因此web平台安装程序只看到第一个“Vasya”,所以您需要将系统用户重命名为“Vasyapukin”,不带空格符号,或者在不同的帐户下安装。
-此外,我还注意到PowerShell env path中存在错误,因此请检查系统变量PSModulePath,并删除不必要的-symbol(“)(SQL server路径包含错误,\PowerShell\Modules”)我遇到了相同的错误。只需安装IIS,一切正常。我终于成功了。我能够为Win Server 2012 R2安装AppFabric。我真的不确定到底是什么样的变化使它起了作用。
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
net start wuauserv
Start-Process -FilePath 'c:\temp\SharePoint\pre\appfabric\setup.exe' -ArgumentList '/i cacheclient","cachingService","CacheAdmin /gac /l c:\temp\appfabric.log' -Wait | Write-verbose
Start-Process -FilePath 'c:\temp\SharePoint\pre\AppFabric1.1-RTM-KB2671763-x64-ENU.exe' -ArgumentList '/quiet' -Wait | Write-verbose