2016/01/11

2年越しの夢が・・・

ついにかないました。

・・・といっても、長らく、鯖(Windows Server 2008R2 SP1)にIE11がインストールできない病にかかっていたのが、ようやく治った、という話ですが。

【経緯】
IE8,9あたりのサポートがなくなります。
どうせFFを使っているので困らないのですが、IEのコンポーネントを使っているアプリ系で動作不良が出てくると困るな、と思ってようやくアップデートしようと思い立ちました。
(というかずっとエラーになっているのは知っていたのですが、困らないので放っておいてた)
・・・というか、IE10もインストールが成功しないまま放っておいてたな・・・

【その1:なぜか成功しない(今思えばIE9絡み?)】
ずっとWindowsUpdateで
エラーコード:3701,0x80070002
というのが出続けていた。
WUのキャッシュを削除したり、いろいろやっても変化なし。
のため、あきらめてOSを上書きインストール。

・・・したのに治らない!
お前どういうことだ!?

というわけでいろいろgoogle先生にお伺いを立てたところ
C:\Windows\IE11_main.log
見ればいいんじゃね?ということを教えてもらう。そうか、ログとかちゃんと残ってるんだ・・・



【というわけでログを見た】
・・・正直、わからん。

エラーをみて、
ERROR: Failed to extract a language pack for a non-english OS.
ERROR: === FindResource (7128,"IE11-support.cab") failed with 0x717
という、英語版を入れようとしてERRORになっているあたりがいかんのか?と思って
http://windows.microsoft.com/en-us/internet-explorer/ie-11-worldwide-languages
からIE11日本語版を拾って入れると、確かに該当箇所のエラーはなくなるが結局インストールには失敗する。↓
00:00.000: INFO: Setup installer for Internet Explorer: 11.0.9600.16428
00:00.016: INFO: Previous version of Internet Explorer: 8.0.7601.19058
00:00.016: INFO: Checking if iexplore.exe's current version is between 11.0.9600.0...
00:00.016: INFO: ...and 11.1.0.0...
00:00.016: INFO: Maximum version on which to run IEAK branding is: 11.1.0.0...
00:00.016: INFO: iexplore.exe version check success. Install can proceed.
00:00.016: INFO: Operating System: Windows Server: 6.1.7601 (Service Pack 1)
00:00.016: INFO: Trying to extract ID: SetupDownloadList.txt (0) as "SetupDownloadList.txt"
00:00.016: INFO: Trying to extract ID: HardwareBlockingList.xml (0) as "HardwareBlockingList.xml"
00:00.016: INFO: Trying to extract ID: 7006 (0) as "IE11-neutral.Extracted.cab"
00:00.375: INFO: Trying to extract ID: 7010 (1041) as "IE11_amd64_ja-JP.cab"
00:00.375: INFO: Extracted ja-JP language pack to C:\Windows\TEMP\IE1B089.tmp\IE11_amd64_ja-JP.cab.
00:00.391: INFO: Trying to extract ID: 5501 (1033) as "Spelling_en.msu"
00:00.391: INFO: Extracted Spelling dictionary for en to C:\Windows\TEMP\IE1B089.tmp\Spelling_en.msu.
00:00.391: INFO: Trying to extract ID: 5502 (1033) as "Hyphenation_en.msu"
00:00.391: INFO: Extracted Hyphenation dictionary for en to C:\Windows\TEMP\IE1B089.tmp\Hyphenation_en.msu.
00:00.391: INFO: Trying to extract ID: 7128 (1041) as "IE11-support.cab"
00:00.875: INFO: PauseOrResumeAUThread: Successfully paused Automatic Updates.
00:01.172: INFO: Updated Download list, Hardware Blocking list, and no reboot policy files successfully downloaded and extracted for use.
00:01.172: INFO: Launched program to check hardware: "C:\Windows\TEMP\IE1B089.tmp\IE11-SUPPORT\IEXPLORE.EXE" /CheckHardware "C:\Windows\TEMP\IE1B089.tmp\IE11-support\HardwareBlockingList.xml"
00:01.219: INFO: Graphics Device Information: Intel(R) HD Graphics 3000
00:01.219: INFO: Hardware support check succeeded. Installation will continue.
00:01.219: INFO: Windows 7 operating system detected.
00:01.219: INFO: Service pack major: 1
00:01.219: INFO: Service pack minor: 0
00:01.219: INFO: Service pack name: Service Pack 1
00:01.219: INFO: Version Check for (KB2834140) of C:\Windows\System32\d3d11.dll: 6.1.7601.17514 >= 6.2.9200.16570 (False)
00:01.219: 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.16426 (True)
00:01.235: INFO: Version Check for (KB2639308) of C:\Windows\System32\Ntoskrnl.exe: 6.1.7601.19045 >= 6.1.7601.17727 (True)
00:01.235: INFO: Version Check for (KB2533623) of C:\Windows\System32\api-ms-win-security-base-l1-1-0.dll: 6.1.7601.19045 >= 6.1.7601.17617 (True)
00:01.235: INFO: Version Check for (KB2731771) of C:\Windows\System32\conhost.exe: 6.1.7601.19045 >= 6.1.7601.17888 (True)
00:01.235: INFO: Checking for correct version of C:\Windows\Fonts\segoeui.ttf.
00:01.235: INFO: Version Check for (KB2786081) of C:\Windows\System32\taskhost.exe: 6.1.7601.18010 >= 6.1.7601.18010 (True)
00:01.235: INFO: Version Check for (KB2888049) of C:\Windows\System32\drivers\tcpip.sys: 6.1.7601.18438 >= 6.1.7601.18254 (True)
00:01.235: INFO: Version Check for (KB2882822) of C:\Windows\System32\tdh.dll: 6.1.7601.18939 >= 6.1.7601.18247 (True)
00:07.453: INFO: Download for KB2834140 initiated. Downloading http://go.microsoft.com/fwlink/?LinkID=303935 -> KB2834140_amd64.MSU.
00:59.907: INFO: Waiting for 1 prerequisite downloads.
00:59.907: INFO: Prerequisite download processes have completed. Starting Installation of 1 prerequisites.
00:59.922: INFO: Launched package installation: C:\Windows\SysNative\dism.exe /online /add-package /packagepath:C:\Windows\TEMP\IE1B089.tmp\KB2834140\Windows6.1-KB2834140-v2-x64.cab /quiet /norestart
01:01.063: INFO: Process exit code 0x00000000 (0) [The operation completed successfully. ]
01:01.063: INFO: The neutral pack was successfully downloaded from the internet. Installation will continue using the downloaded package.
01:01.063: INFO: Waiting for 0 language pack downloads.
01:01.063: INFO: Language pack downloads completed. (exit code = 0xffffffff (4294967295)).
01:01.094: INFO: No reboot logic message NrApiStart(0), lParam=0x00391078 returned 0x00000000.
01:01.313: INFO: No reboot logic message NrApiScan(1), lParam=0x00000000 returned 0x00000000.
01:19.157: INFO: No reboot logic message NrApiDecisionDialog(2), lParam=0x00000000 returned 0x00000000.
01:30.563: INFO: No reboot logic message NrApiPreInstall(3), lParam=0x00000000 returned 0x00000000.
01:30.563: INFO: No reboot logic message NrApiStartInstall(4), lParam=0x00000000 returned 0x00000014.
01:30.563: INFO: Installing with the downloaded package. C:\Windows\TEMP\IE1B089.tmp\IE11-neutral.Downloaded.cab
01:30.563: INFO: Launched package installation: C:\Windows\SysNative\dism.exe /online /add-package /packagepath:C:\Windows\TEMP\IE1B089.tmp\IE11-neutral.Downloaded.cab /quiet /norestart
01:31.500: INFO: Process 'C:\Windows\SysNative\dism.exe /online /add-package /packagepath:C:\Windows\TEMP\IE1B089.tmp\IE11-neutral.Downloaded.cab /quiet /norestart' exited with exit code 0x800F081E (-2146498530)
01:31.500: ERROR: Neutral package installation failed (exit code = 0x800f081e (2148468766)).
01:31.500: INFO: No reboot logic message NrApiInstallDone(7), lParam=0x00009c59 returned 0x00000000.
01:44.407: INFO: No reboot logic message NrApiPostInstall(8), lParam=0x00000000 returned 0x00000000.
01:44.407: INFO: No reboot logic message NrApiStartFinish(11), lParam=0x00000000 returned 0x00000000.
01:44.407: INFO: No reboot logic message NrApiFinish(12), lParam=0x00000000 returned 0x00000016.
01:44.407: INFO: Waiting for Active Setup to complete.
01:44.407: INFO: Waiting for Active Setup to complete. ({89820200-ECBD-11cf-8B85-00AA005B4383})
・・・
02:09.407: INFO: Waiting for Active Setup to complete. ({A509B1A7-37EF-4b3f-8CFC-4F3A74704073})
・・・
02:59.422: INFO: PauseOrResumeAUThread: Successfully resumed Automatic Updates.
03:05.000: INFO: Setup exit code: 0x00009C59 (40025) - The neutral cab failed to install.
03:05.016: INFO: Cleaning up temporary files in: C:\Windows\TEMP\IE1B089.tmp
03:05.032: INFO: Unable to remove directory C:\Windows\TEMP\IE1B089.tmp, marking for deletion on reboot.
03:05.032: INFO: Released Internet Explorer Installer Mutex


ということは
ERROR: Neutral package installation failed (exit code = 0x800f081e (2148468766)).
がいけないっぽい。
と思ってよくよく見ると
「Version Check for (KB2834140) of C:\Windows\System32\d3d11.dll: 6.1.7601.17514 >= 6.2.9200.16570 (False)」
・・・False?
で、確かにd3d311.dllのバージョンを見ると6.1.7601で古い。
が、ちゃんとKB2834140はインストール済みになっている。
一度アンインストールして、オフラインファイルを拾ってきてインストールしてもd3d11.dllのバージョンが変わらない。
こいつが原因か、ということでいろいろ調べると
オプション更新の中の
KB2670838 Windows 7 SP1 および Windows Server 2008 R2 SP1 用のプラットフォーム更新プログラム
https://support.microsoft.com/ja-jp/kb/2670838
をインストールすれば更新されるらしい。
というわけで普通にオプション更新からKB2670838をインストールしてやるとようやくd3d11のバージョンが更新された。
その結果、
00:08.609: INFO: Launched package installation: C:\Windows\SysNative\dism.exe /online /add-package /packagepath:C:\Windows\TEMP\IE1C3B5.tmp\IE11-neutral.Downloaded.cab /quiet /norestart
00:37.906: INFO: Process exit code 0x00000BC2 (3010) [The requested operation is successful. Changes will not be effective until the system is rebooted. ]
となり、ようやくIE11-neutralから先へ進めるようになった。(というか正常にインストールが完了した)
よかったよかった!

・・・が、ここで過去にさかのぼってログを追っていくと、OSの上書きインストール前はちゃんと
Version Check for (KB2834140) of C:\Windows\System32\d3d11.dll: 6.2.9200.16570 >= 6.2.9200.16570 (True)
で通っていた。
ということは、OS上書き前はまた別の理由でインストールが失敗していたものと思われる・・・
原因は謎。

まぁ、なんとなく
IE9をアンインストールしようとしてもできなくなってたのとかに関係ありそうな。
ちなみにOSの上書きインストール前のログはこんな感じ。
今となって見直すと、
Process exit code 0x00003701 (14081) [The referenced assembly could not be found. ]
が怪しいですね。
ちなみにこのエラーはIE10でも11でも言われているので、実はIE9のインストールに失敗してたんじゃね?
まぁ、なんにせよ治って良かったです。

僕の場合、結論としては上書きインストールで治りました。

00:00.016: Command line: "C:\Windows\SoftwareDistribution\Download\Install\IE11-Windows6.1-x64-en-us.exe" /WU-SILENT
00:00.016: INFO: Setup installer for Internet Explorer: 11.0.9600.16428
00:00.047: INFO: Previous version of Internet Explorer: 9.0.8112.16723
00:00.047: INFO: Checking if iexplore.exe's current version is between 11.0.9600.0...
00:00.047: INFO: ...and 11.1.0.0...
00:00.047: INFO: Maximum version on which to run IEAK branding is: 11.1.0.0...
00:00.063: INFO: iexplore.exe version check success. Install can proceed.
00:00.063: INFO: Operating System: Windows Server: 6.1.7601 (Service Pack 1)
00:00.063: INFO: Trying to extract ID: SetupDownloadList.txt (0) as "SetupDownloadList.txt"
00:00.063: INFO: Trying to extract ID: HardwareBlockingList.xml (0) as "HardwareBlockingList.xml"
00:00.063: INFO: Trying to extract ID: 7006 (0) as "IE11-neutral.Extracted.cab"
00:00.750: ERROR: Failed to extract a language pack for a non-english OS.

00:00.750: INFO: This is an English only package, so installation will continue on this non-English OS.
00:00.750: INFO: Trying to extract ID: 5501 (1033) as "Spelling_en.msu"
00:00.750: INFO: Extracted Spelling dictionary for en to C:\Windows\TEMP\IE1F40C.tmp\Spelling_en.msu.
00:00.766: INFO: Trying to extract ID: 5502 (1033) as "Hyphenation_en.msu"
00:00.766: INFO: Extracted Hyphenation dictionary for en to C:\Windows\TEMP\IE1F40C.tmp\Hyphenation_en.msu.
00:00.766: INFO: Trying to extract ID: 7128 (1041) as "IE11-support.cab"
00:00.766: ERROR: === FindResource (7128,"IE11-support.cab") failed with 0x717

00:00.766: INFO: Trying to extract ID: 7128 (1033) as "IE11-support.cab"
00:03.000: INFO: Updated Download list, Hardware Blocking list, and no reboot policy files successfully downloaded and extracted for use.
00:03.016: INFO: Launched program to check hardware: "C:\Windows\TEMP\IE1F40C.tmp\IE11-SUPPORT\IEXPLORE.EXE" /CheckHardware "C:\Windows\TEMP\IE1F40C.tmp\IE11-support\HardwareBlockingList.xml"
00:03.047: INFO: Hardware support check succeeded. Installation will continue.
00:03.047: INFO: Windows 7 operating system detected.
00:03.047: INFO: Service pack major: 1
00:03.047: INFO: Service pack minor: 0
00:03.047: INFO: Service pack name: Service Pack 1
00:03.047: INFO: Version Check for (KB2834140) of C:\Windows\System32\d3d11.dll: 6.2.9200.16570 >= 6.2.9200.16570 (True)
00:03.047: 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.16426 (True)
00:03.047: INFO: Version Check for (KB2639308) of C:\Windows\System32\Ntoskrnl.exe: 6.1.7601.19045 >= 6.1.7601.17727 (True)
00:03.063: INFO: Version Check for (KB2533623) of C:\Windows\System32\api-ms-win-security-base-l1-1-0.dll: 6.1.7601.19045 >= 6.1.7601.17617 (True)
00:03.063: INFO: Version Check for (KB2731771) of C:\Windows\System32\conhost.exe: 6.1.7601.19045 >= 6.1.7601.17888 (True)
00:03.063: INFO: Checking for correct version of C:\Windows\Fonts\segoeui.ttf.
00:03.063: INFO: Version Check for (KB2786081) of C:\Windows\System32\taskhost.exe: 6.1.7601.18010 >= 6.1.7601.18010 (True)
00:03.063: INFO: Version Check for (KB2888049) of C:\Windows\System32\drivers\tcpip.sys: 6.1.7601.18438 >= 6.1.7601.18254 (True)
00:03.063: INFO: Version Check for (KB2882822) of C:\Windows\System32\tdh.dll: 6.1.7601.18939 >= 6.1.7601.18247 (True)
00:15.391: INFO: IE Setup Language pack included: C:\Windows\TEMP\IE1F40C.tmp\Windows6.1-KB2841134-x64-ja-JP.cab
00:15.391: INFO: IE Setup Language pack included: C:\Windows\TEMP\IE1F40C.tmp\IE-Spelling-en.cab
00:15.391: INFO: IE Setup Language pack included: C:\Windows\TEMP\IE1F40C.tmp\IE-Hyphenation-en.cab
00:15.391: INFO: Waiting for 0 prerequisite downloads.
00:18.579: INFO: The neutral pack was successfully downloaded from the internet. Installation will continue using the downloaded package.
00:18.579: INFO: Waiting for 0 language pack downloads.
00:18.579: INFO: Language pack downloads completed. (exit code = 0xffffffff (4294967295)).
00:18.594: INFO: No reboot logic message NrApiStart(0), lParam=0x03771080 returned 0x00000000.
00:18.704: INFO: No reboot logic message NrApiScan(1), lParam=0x00000001 returned 0x00000000.
00:18.704: INFO: No reboot logic message NrApiStartInstall(4), lParam=0x00000001 returned 0x00000014.
00:18.704: INFO: Installing with the downloaded package. C:\Windows\TEMP\IE1F40C.tmp\IE11-neutral.Downloaded.cab
00:18.704: INFO: Launched package installation: C:\Windows\SysNative\dism.exe /online /add-package /packagepath:C:\Windows\TEMP\IE1F40C.tmp\IE11-neutral.Downloaded.cab /quiet /norestart
00:24.235: INFO: Process exit code 0x00003701 (14081) [The referenced assembly could not be found. ]
00:24.235: ERROR: Neutral package installation failed (exit code = 0x00003701 (14081)).
00:24.235: INFO: No reboot logic message NrApiInstallDone(7), lParam=0x00009c59 returned 0x00000000.
00:24.250: INFO: No reboot logic message NrApiStartFinish(11), lParam=0x00000000 returned 0x00000000.
00:24.250: INFO: No reboot logic message NrApiFinish(12), lParam=0x00000000 returned 0x00000016.
00:24.250: INFO: Waiting for Active Setup to complete.
00:24.266: ERROR: Couldn't create setup troubleshooting shortcut on the desktop. HRESULT: 0x80070002,
00:24.266: INFO: Setup exit code: 0x00009C59 (40025) - The neutral cab failed to install.
00:24.282: INFO: Cleaning up temporary files in: C:\Windows\TEMP\IE1F40C.tmp
00:24.297: INFO: Unable to remove directory C:\Windows\TEMP\IE1F40C.tmp, marking for deletion on reboot.
00:24.297: INFO: Released Internet Explorer Installer Mutex

0 件のコメント:

コメントを投稿