IIS 7.5应用程序初始化1安装失败。

5

我正在使用Web平台安装程序来安装"应用初始化1",但是我收到一个一般的"安装过程中发生致命错误"的提示。

在日志文件中我看到:

MSI (s) (9C:24) [14:04:47:315]: Executing op: ActionStart(Name=ExecuteInstallWindowsHotfix,,)
1: IISCA IISExecuteCA : End CA Setup 
MSI (s) (9C:24) [14:04:47:315]: Executing op: CustomActionSchedule(Action=ExecuteInstallWindowsHotfix,
              \Users\GEORGE~1.VOV\AppData\Local\Temp\\HotfixPipeLine{3E0FEF42-B34C-40FE-8387-2EE0F22CE1A6}.msu^)
MSI (s) (9C:A4) [14:04:47:325]: Invoking remote custom action. D
         LL: C:\Windows\Installer\MSI5385.tmp, Entrypoint: ExecuteInstallWindowsHotfixCA
1: IISCA ExecuteInstallWindowsHotfixCA : Begin CA Setup 
1: IISCA ExecuteInstallWindowsHotfixCA : Launching process with command line C:\Windows\system32\wusa.exe 
        /quiet /norestart "C:\Users\GEORGE~1.VOV\AppData\Local\Temp\\HotfixPipeLine{3E0FEF42-B34C-40FE-8387-2EE0F22CE1A6}.msu" 
1: IISCA ExecuteInstallWindowsHotfixCA : Process returned with exit code -2145124329 
1: IISCA ExecuteInstallWindowsHotfixCA : Error in function InstallWindowsHotfixQuietly, hr=0x80070643 


1: IISCA ExecuteInstallWindowsHotfixCA : < !!ERROR!! >
                         Error installing hotfix '
                         C:\Users\GEORGE~1.VOV\AppData\Local\Temp\\HotfixPipeLine{3E0FEF42-B34C-40FE-8387-2EE0F22CE1A6}.msu', hr=0x80070643 


1: IISCA ExecuteInstallWindowsHotfixCA : Error in function ExecuteInstallWindowsHotfixCA, hr=0x80070643 
1: IISCA ExecuteInstallWindowsHotfixCA : End CA Setup 
   CustomAction ExecuteInstallWindowsHotfix returned actual error code 1603 
     (note this may not be 100% accurate if translation happened inside sandbox)

看起来它正在尝试安装一个热修复程序。
我在四台不同的Windows 7企业版x64机器上都遇到了这个问题。

有什么办法可以解决这个问题吗?

更新

我从我的“临时”文件夹中得到了实际的msu文件,并且我能够看到它正在尝试安装的热修复程序。
它是一个名为Windows6.1-KB2684600-v2-x64.msu的文件。
支持链接= http://support.microsoft.com?kbid=2684600

当我尝试手动安装这个热修复程序时,会出现“更新不适用于您的计算机”的错误提示。

更新2
我还在iis.net上咨询过,但他们没有能够提供太多帮助。


你解决了这个问题吗?我这里也遇到了同样的问题。不知怎么回事,在重新安装Windows并进行一些Windows更新后,应用程序初始化成功安装了。但在另一天进行完整更新后,它就提前结束了。我花了很多天时间反复重新安装Windows,试图找出为什么“热补丁”显示“不适用于您的计算机”的原因。也许是与其他Windows更新不兼容? - Buzz
很遗憾,@BennyChen。最后我只好使用其他机器来完成我的工作……我也在forums.iis.net上发帖求助,但他们并没有提供太多帮助。https://forums.iis.net/t/1233184.aspx - George Vovos
@BennyChen添加了一份悬赏。如果它引起了注意,有人可能会帮助你。 - George Vovos
当您尝试手动安装时,您确定它是64位版本的msu吗? - nik_boyz
@nik_boyz 是的,这是64位版本。(我也尝试了32位版本,但收到了预期的不正确版本消息) - George Vovos
2个回答

2

我在工作中遇到了同样的问题。我联系了微软支持,经过尝试了一些不同的方法,他们最终发现了导致在 Windows 7 Enterprise SP1 x64 机器上安装 Application Initialization 1.0 模块失败的原因。

我们发现需要安装热补丁2684600来更新 iiscore.dll 到版本 7.5.7601.21943 以安装 Application Initialization 模块。然而,我们现有机器的 iiscore.dll 已经是版本 6.5.7601.23403,这就解释了为什么在安装时会出现“不适用于您的计算机”的错误。

进一步挖掘,我们发现当通过 Windows 更新安装 KB 3125574 时,版本 23403 就会得到更新。

我们按照以下步骤解决了这个问题:

  1. 卸载 KB 3125574
  2. 安装 Application Initialization 模块
  3. 然后在其上安装 KB

我的 WebPI 日志示例:

1: IISCA IISExecuteCA : Begin CA Setup 
1: IISCA IISExecuteCA : CA 'IISExecuteCA' completed with return code hr=0x0 
MSI (s) (50:7C) [16:13:58:536]: Executing op: ActionStart(Name=ExecuteInstallWindowsHotfix,,)
1: IISCA IISExecuteCA : End CA Setup 
MSI (s) (50:7C) [16:13:58:537]: Executing op: CustomActionSchedule(Action=ExecuteInstallWindowsHotfix,ActionType=3073,Source=BinaryData,Target=ExecuteInstallWindowsHotfixCA,CustomActionData=94^C:\Users\HOLMBE~1\AppData\Local\Temp\\HotfixPipeLine{8AF6C421-008B-4C45-ACB4-232AC5559253}.msu^)
MSI (s) (50:A0) [16:13:58:543]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI1F6E.tmp, Entrypoint: ExecuteInstallWindowsHotfixCA
1: IISCA ExecuteInstallWindowsHotfixCA : Begin CA Setup 
1: IISCA ExecuteInstallWindowsHotfixCA : Launching process with command line C:\WINDOWS\system32\wusa.exe /quiet /norestart "C:\Users\HOLMBE~1\AppData\Local\Temp\\HotfixPipeLine{8AF6C421-008B-4C45-ACB4-232AC5559253}.msu" 
1: IISCA ExecuteInstallWindowsHotfixCA : Process returned with exit code -2145124329 
1: IISCA ExecuteInstallWindowsHotfixCA : Error in function InstallWindowsHotfixQuietly, hr=0x80070643 
1: IISCA ExecuteInstallWindowsHotfixCA : < !!ERROR!! > Error installing hotfix 'C:\Users\HOLMBE~1\AppData\Local\Temp\\HotfixPipeLine{8AF6C421-008B-4C45-ACB4-232AC5559253}.msu', hr=0x80070643 
1: IISCA ExecuteInstallWindowsHotfixCA : Error in function ExecuteInstallWindowsHotfixCA, hr=0x80070643 
1: IISCA ExecuteInstallWindowsHotfixCA : End CA Setup 
CustomAction ExecuteInstallWindowsHotfix returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)

我按照您提供的步骤操作,成功了。@BennyChen 也应该能够使用这个。谢谢。 - George Vovos
不用谢!很高兴能帮忙。我花了很多时间在这个问题上烦恼。 - Susanne Holmberg

1
作为Susanne所写的,安装程序尝试运行KB2684600。 KB2684600修补了一些dll文件,例如iiscore.dll。如果这些dll已经是更高版本,则KB安装将无法安装。检查所有被KB2684600补丁程序覆盖的文件时,我发现它们全部在3125574中更新,因此如果您已安装3125574,则不需要KB2684600。
当使用Orca工具查看安装程序时,我注意到可以应用命令行开关来避免安装KB2684600。像这样运行安装:
appwarmup_XXX.msi SKIPINSTALLWINDOWSHOTFIX=1

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接