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

IIS 7.5 Application Initialization 1 failed to install

我正在使用 Web Platform Installer 安装 "Application Initialization 1",但我收到一条一般的 "Fatal error during installation" 消息。

在我看到的日志文件中:

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)

它似乎正在尝试安装修补程序。
我在 4 台装有 Windows 7 Enterprize x64

的不同机器上遇到了这个问题

知道如何解决这个问题吗?

更新

我从我的 "Temp" 文件夹中获得了实际的 msu 文件,我可以看到它正在尝试安装的修补程序。
这是一个名为 Windows6.1-KB2684600-v2-x64.msu
的文件 支持Link=http://support.microsoft.com?kbid=2684600

当我尝试手动安装此修补程序时,我得到 "The update is not applicable to your computer "

更新 2
我也在 iis.net 上询问过,但他们帮不上什么忙

我的新笔记本电脑在工作时遇到了同样的问题。我联系了 Microsoft 支持,在尝试了一些不同的方法后,他们终于找到了导致 Windows 7 Enterprise SP1 x64 计算机上应用程序初始化 1.0 模块安装失败的原因。

我们发现需要为应用程序初始化模块安装的修补程序 2684600 应该会将 iiscore.dll 更新到版本 7.5.7601.21943。 但是,我们现有机器的 iiscore.dll 已经是 6.5.7601.23403 版本,因此修补程序在安装过程中抛出“不适用于您的计算机”错误是有道理的。

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

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

  1. 删除 KB 3125574
  2. 安装应用程序初始化模块
  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)

正如 Susanne 所写,安装程序试图 运行 KB2684600。 KB2684600 修补了一些 dll,例如 iiscore.dll。如果这些 dll 已经是更高版本,KB 安装将失败。 当检查所有被 KB2684600 修补的文件时,我发现它们都在 3125574 中更新,所以如果你安装了 3125574,你就不需要 KB2684600。

在 Orca 工具中查看安装程序时,我注意到有一个 command-line 开关可以用来避免安装 KB2684600。 运行 像这样安装:

appwarmup_XXX.msi SKIPINSTALLWINDOWSHOTFIX=1