因为项目需要完成ie10的兼容性测试,在虚拟机中装了了个win7,现在的gho安装都是直接预装ie11,卸载ie11以后,安装ie10。尝试了n次依然报错。
安装日志在这个路径,
c:\windows\ie10_main.txt
每次的提示错误都一样:
00:07.187: INFO: Process 'C:\Windows\SysNative\dism.exe /online /add-package /packagepath:C:\Windows\TEMP\IE18D8A.tmp\IE10-neutral.Extracted.cab /quiet /norestart' exited with exit code 0x800F081E (-2146498530)
00:07.187: ERROR: Neutral package installation failed (exit code = 0x800f081e (2148468766)).
完整日志如下:
00:00.015: Started: 2021/01/26 (Y/M/D) 10:51:39.857 (local)
00:00.015: Time Format in this log: MM:ss.mmm (minutes:seconds.milliseconds)
00:00.015: Command line: "C:\360安全浏览器下载\IE10-Windows6.1-x64-zh-cn.exe" /update-no
00:00.015: INFO: Setup installer for Internet Explorer: 10.0.9200.16521
00:00.031: INFO: Previous version of Internet Explorer: 8.0.7601.17514
00:00.031: INFO: Checking if iexplore.exe's current version is between 10.0.8100.0...
00:00.031: INFO: ...and 10.1.0.0...
00:00.031: INFO: Maximum version on which to run IEAK branding is: 10.1.0.0...
00:00.047: INFO: iexplore.exe version check success. Install can proceed.
00:00.047: INFO: Operating System: Windows Workstation: 6.1.7601 (Service Pack 1)
00:00.062: INFO: Trying to extract ID: SetupDownloadList.txt (0) as "SetupDownloadList.txt"
00:00.062: INFO: Trying to extract ID: HardwareBlockingList.xml (0) as "HardwareBlockingList.xml"
00:00.062: INFO: Trying to extract ID: 7006 (0) as "IE10-neutral.Extracted.cab"
00:00.359: INFO: Trying to extract ID: 7010 (2052) as "IE10_amd64_CHS.cab"
00:00.437: INFO: Extracted CHS language pack to C:\Windows\TEMP\IE18D8A.tmp\IE10_amd64_CHS.cab.
00:00.453: INFO: Trying to extract ID: 5501 (1033) as "Spelling_en.msu"
00:00.453: INFO: Extracted Spelling dictionary for en to C:\Windows\TEMP\IE18D8A.tmp\Spelling_en.msu.
00:00.453: INFO: Trying to extract ID: 5502 (1033) as "Hyphenation_en.msu"
00:00.453: INFO: Extracted Hyphenation dictionary for en to C:\Windows\TEMP\IE18D8A.tmp\Hyphenation_en.msu.
00:00.453: INFO: Trying to extract ID: 7128 (2052) as "IE10-support.cab"
00:00.953: INFO: PauseOrResumeAUThread: Successfully paused Automatic Updates.
00:01.093: INFO: Launched program to check hardware: "C:\Windows\TEMP\IE18D8A.tmp\IE10-SUPPORT\IEXPLORE.EXE" /CheckHardware "C:\Windows\TEMP\IE18D8A.tmp\HardwareBlockingList.xml"
00:01.343: INFO: Hardware support check succeeded. Installation will continue.
00:01.359: INFO: Windows 7 operating system detected.
00:01.359: INFO: Service pack major: 1
00:01.359: INFO: Service pack minor: 0
00:01.359: INFO: Service pack name: Service Pack 1
00:01.359: INFO: Version Check for (KB2670838) of C:\Windows\System32\api-ms-win-downlevel-user32-l1-1-0.dll: 6.2.9200.16492 >= 6.2.9200.16492 (True)
00:01.375: INFO: Version Check for (KB2639308) of C:\Windows\System32\Ntoskrnl.exe: 6.1.7601.24387 >= 6.1.7601.21863 (True)
00:01.375: INFO: Version Check for (KB2533623) of C:\Windows\System32\api-ms-win-security-base-l1-1-0.dll: 6.1.7601.24387 >= 6.1.7601.21728 (True)
00:01.375: INFO: Version Check for (KB2731771) of C:\Windows\System32\kernel32.dll: 6.1.7601.24387 >= 6.1.7601.22091 (True)
00:01.390: INFO: Checking for correct version of C:\Windows\Fonts\segoeui.ttf.
00:01.390: INFO: Version Check for (KB2786081) of C:\Windows\System32\taskhost.exe: 6.1.7601.18010 >= 6.1.7601.18010 (True)
00:02.078: INFO: Download for zh-CN IE10_amd64 pack initiated. Downloading http://download.microsoft.com/download/7/F/C/7FCD6AE3-E4D4-48A7-A034-A4873F006058/zh-cn/amd64fre/Win6.1/cab/Windows6.1-KB2718695-x64.cab -> C:\Windows\TEMP\IE18D8A.tmp\IE10_amd64_zh-CN.cab.
00:04.234: INFO: Waiting for 0 prerequisite downloads.
00:04.250: INFO: The neutral pack was not successfully downloaded from the internet. Installation will continue using the extracted package.
00:04.297: INFO: No reboot logic message NrApiStart(0), lParam=0x02f027c0 returned 0x00000000.
00:05.250: INFO: No reboot logic message NrApiScan(1), lParam=0x00000001 returned 0x00000000.
00:05.250: INFO: No reboot logic message NrApiStartInstall(4), lParam=0x00000001 returned 0x00000014.
00:05.250: INFO: Installing with the extracted package. C:\Windows\TEMP\IE18D8A.tmp\IE10-neutral.Extracted.cab
00:05.265: INFO: Launched package installation: C:\Windows\SysNative\dism.exe /online /add-package /packagepath:C:\Windows\TEMP\IE18D8A.tmp\IE10-neutral.Extracted.cab /quiet /norestart
00:07.187: INFO: Process 'C:\Windows\SysNative\dism.exe /online /add-package /packagepath:C:\Windows\TEMP\IE18D8A.tmp\IE10-neutral.Extracted.cab /quiet /norestart' exited with exit code 0x800F081E (-2146498530)
00:07.187: ERROR: Neutral package installation failed (exit code = 0x800f081e (2148468766)).
00:07.187: INFO: No reboot logic message NrApiInstallDone(7), lParam=0x00009c59 returned 0x00000000.
00:07.187: INFO: No reboot logic message NrApiStartFinish(11), lParam=0x00000000 returned 0x00000000.
00:07.187: INFO: No reboot logic message NrApiFinish(12), lParam=0x00000000 returned 0x00000016.
00:07.187: INFO: Waiting for Active Setup to complete.
00:07.203: INFO: Waiting for Active Setup to complete. ({
89820200-ECBD-11cf-8B85-00AA005B4383})
00:12.203: INFO: Waiting for Active Setup to complete. ({
89820200-ECBD-11cf-8B85-00AA005B4383})
00:17.218: INFO: Waiting for Active Setup to complete. ({
89820200-ECBD-11cf-8B85-00AA005B4383})
00:22.218: INFO: Waiting for Active Setup to complete. ({
89820200-ECBD-11cf-8B85-00AA005B4383})
00:27.218: INFO: Waiting for Active Setup to complete. ({
89820200-ECBD-11cf-8B85-00AA005B4383})
00:33.047: INFO: PauseOrResumeAUThread: Successfully resumed Automatic Updates.
04:14.547: INFO: Setup exit code: 0x00009C59 (40025) - The neutral cab failed to install.
04:14.672: INFO: Cleaning up temporary files in: C:\Windows\TEMP\IE18D8A.tmp
04:15.578: INFO: Unable to remove directory C:\Windows\TEMP\IE18D8A.tmp, marking for deletion on reboot.
04:15.765: INFO: Released Internet Explorer Installer Mutex
最后发现问题是出在windows更新,一开始都装好ie11了,就完全没往缺补丁包上想,太想当然了。正如别人所说ie10需要:KB2729094、KB2731771、KB2533623、KB2670838、KB2786081补丁包。我这里缺的就是KB2670838,它位于控制面板\系统和安全\Windows Update\可选更新
。安装好以后,再安装ie10就成功了。