https://bugs.winehq.org/show_bug.cgi?id=43509
Bug ID: 43509 Summary: Internet Explorer 11 installer fails (needs stubs or a suitable MSU installer) Product: Wine Version: 2.14 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: z.figura12@gmail.com Distribution: ---
Fails with the message "Internet Explorer needs an update before installing. Go online and install the required update, then return to the Internet Explorer installation page and run setup again."
Looking through logs shows that it is checking the version of several files, namely: d3d11.dll, api-ms-win-downlevel-user32-l1-1-0.dll, ntoskrnl.exe, api-ms-win-security-base-l1-1-0.dll, conhost.exe, segoeui.ttf, taskhost.exe, tdh.dll, tcpip.sys. When these checks fail it attempts to download KB updates (as can be seen from https://support.microsoft.com/en-us/help/2847882/prerequisite-updates-for-in...).
Wine lacks the last four of these. Adding a version resource to tdh.dll, and adding a stub tcpip.sys with version resource, causes those two checks to succeed; presumably the same can be done for taskhost.exe (although it is probably not necessary; see below). Copying over segoeui.ttf from an existing Windows installation does *not* work, and for the life of me I can't figure out why; a +relay trace doesn't show the installer doing *any* version checks on the file.
When the checks fail, the installer attempts to download and install KB updates using dism.exe. This fails, since we don't have dism.exe.
https://bugs.winehq.org/show_bug.cgi?id=43509
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://support.microsoft.c | |om/en-us/help/17621/interne | |t-explorer-downloads Keywords| |download, Installer Depends on| |26757
https://bugs.winehq.org/show_bug.cgi?id=43509
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=43509
--- Comment #1 from Zebediah Figura z.figura12@gmail.com --- Adding a stub dism.exe seems to work, but the installer runs into a crash shortly thereafter. This seems to be due to lack of InstallEngine implementation.
https://bugs.winehq.org/show_bug.cgi?id=43509
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |39456
https://bugs.winehq.org/show_bug.cgi?id=43509
Kai Mast mail@kai-mast.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mail@kai-mast.de
--- Comment #2 from Kai Mast mail@kai-mast.de --- I experienced the same behavior on wine 3.0.
Would love to install either IE11 or Edge for netflix on FullHD.
https://bugs.winehq.org/show_bug.cgi?id=43509
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #3 from Anastasius Focht focht@gmx.net --- Hello folks,
what exact issue are you targeting here? Missing version resources? Missing 'dism.exe'? Please don't make bugs about "meta" things (i.e. make "app X" to work).
The .MSU support and 'inseng.dll' insufficiencies are already covered by existing tickets.
Regards
https://bugs.winehq.org/show_bug.cgi?id=43509
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Internet Explorer 11 |Internet Explorer 11 |installer fails (needs |installer fails (needs |stubs or a suitable MSU |updated version resources |installer) |or stub dism.exe) Depends on|26757, 39456 |
--- Comment #4 from Zebediah Figura z.figura12@gmail.com --- (In reply to Anastasius Focht from comment #3)
Hello folks,
what exact issue are you targeting here? Missing version resources? Missing 'dism.exe'? Please don't make bugs about "meta" things (i.e. make "app X" to work).
The .MSU support and 'inseng.dll' insufficiencies are already covered by existing tickets.
Regards
The problem I was targeting is that Internet Explorer 11 asks for the user to update their system. There are two ways around this problem: either adding version resources so that the installer doesn't try to update, or adding a stub dism.exe (full MSU support is not necessary) so that the automatic updates don't fail.
The inseng comment is just a note of what it needs next. I've removed the 'Depends on' field since it's not really accurate as-is. I've also edited the title to make it a little more clear.
https://bugs.winehq.org/show_bug.cgi?id=43509
--- Comment #5 from Austin English austinenglish@gmail.com --- Went ahead and sent a stub dism since it moves things a bit further: https://source.winehq.org/patches/data/146921
https://bugs.winehq.org/show_bug.cgi?id=43509
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Internet Explorer 11 |Internet Explorer 11 |installer fails (needs |installer fails, needs stub |updated version resources |'dism.exe' |or stub dism.exe) | Status|UNCONFIRMED |RESOLVED Component|-unknown |programs Fixed by SHA1| |4739647405284580e8404cbb07f | |3fb6a724755f1 Resolution|--- |FIXED
--- Comment #6 from Anastasius Focht focht@gmx.net --- Hello folks,
commit https://source.winehq.org/git/wine.git/commitdiff/4739647405284580e8404cbb07... added stub 'dism'.
Thanks Austin
--- snip --- $ WINEDEBUG=+seh,+relay,+msi,+inseng wine ./EIE11_EN-US_WOL_WIN7.EXE >>log.txt 2>&1 ... 0035:Call KERNEL32.CreateProcessW(00000000,0033c210 L"C:\windows\System32\dism.exe /online /add-package /packagepath:C:\windows\TEMP\IE1aade.tmp\KB2729094\Windows6.1-KB2729094-v2-x86.cab /quiet /norestart",00000000,00000000,00000000,00008000,00000000,0033d772 L"C:\windows\TEMP\IE1aade.tmp",0033c1a8,0033c1f8) ret=004100a1 ... 0035:Ret KERNEL32.CreateProcessW() retval=00000001 ret=004100a1 ... 0035:Call KERNEL32.CreateProcessW(00000000,0033c210 L"C:\windows\System32\dism.exe /online /add-package /packagepath:C:\windows\TEMP\IE1aade.tmp\KB2786081_x86.CAB /quiet /norestart",00000000,00000000,00000000,00008000,00000000,0033d772 L"C:\windows\TEMP\IE1aade.tmp",0033c1a8,0033c1f8) ret=004100a1 ... 0035:Ret KERNEL32.CreateProcessW() retval=00000001 ret=004100a1 ... 0035:Call KERNEL32.CreateProcessW(00000000,0033c210 L"C:\windows\System32\dism.exe /online /add-package /packagepath:C:\windows\TEMP\IE1aade.tmp\KB2888049\Windows6.1-KB2888049-x86.cab /quiet /norestart",00000000,00000000,00000000,00008000,00000000,0033d772 L"C:\windows\TEMP\IE1aade.tmp",0033c1a8,0033c1f8) ret=004100a1 ... 0035:Ret KERNEL32.CreateProcessW() retval=00000001 ret=004100a1 ... 0035:Call KERNEL32.OutputDebugStringW(00420a50 L"00:06.972: INFO: IEAKPRXY>>IEAK_DLL: Queue components for the install engine [PreCustItems]:\r\n\r\n") ret=0041a0da 0035:Ret KERNEL32.OutputDebugStringW() retval=0033c170 ret=0041a0da ... 0035:fixme:inseng:InstallEngine_SetInstallOptions (0x176978)->(11) 0035:fixme:inseng:InstallEngine_SetAction (0x176978)->((null) 0 -1) 0035:trace:seh:raise_exception code=c0000005 flags=0 addr=0x372116 ip=00372116 tid=0035 0035:trace:seh:raise_exception info[0]=00000000 0035:trace:seh:raise_exception info[1]=00000000 0035:trace:seh:raise_exception eax=00000000 ebx=00a4c61f ecx=0033c24c edx=0033c264 esi=003715d0 edi=00000001 0035:trace:seh:raise_exception ebp=0033ca74 esp=0033c250 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00210202 0035:trace:seh:call_stack_handlers calling handler at 0x41ba6a code=c0000005 flags=0 0035:Call msvcrt._except_handler4_common(0041c004,0041b46f,0033c1f8,0033fea0,0033bf2c,0033bdec) ret=0041ba8a 0035:trace:seh:_except_handler4_common exception c0000005 flags=0 at 0x372116 handler=0x41ba6a 0x33bf2c 0x33bdec cookie=31f57880 scope table=0x41bc88 cookies=-2/0,-120/0 0035:trace:seh:_except_handler4_common level 1 prev -2 filter 0x41b3d1 0035:Call msvcrt._XcptFilter(c0000005,0033bc94) ret=0041b3e2 ... --- snip ---
Log file 'c:\windows\IE11_main.log':
--- snip --- 00:00.000: ==================================================================== 00:00.003: Started: 2018/06/07 (Y/M/D) 00:53:24.253 (local) 00:00.005: Time Format in this log: MM:ss.mmm (minutes:seconds.milliseconds) 00:00.007: Command line: C:\users\focht\Temp\IXP000.TMP\IE-REDIST.exe /ieak-full:C:\users\focht\Temp\IXP000.TMP\ 00:00.052: INFO: Setup installer for Internet Explorer: 11.0.9600.16428 00:00.055: INFO: Previous version of Internet Explorer: 8.0.7601.17601 00:00.057: INFO: Checking if iexplore.exe's current version is between 11.0.9600.0... 00:00.059: INFO: ...and 11.1.0.0... 00:00.061: 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.065: INFO: Operating System: Windows Workstation: 6.1.7601 (Service Pack 1) 00:01.144: INFO: IEAKPRXY>>[BEGIN] Call to IEAKInitialize() 00:01.150: INFO: IEAKPRXY>>IEAK_DLL: Date:6/7/2018 (M/D/Y) Time:0:53:25
00:01.153: INFO: IEAKPRXY>>IEAK_DLL: SetLocalCif :C:\users\focht\Temp\IXP000.TMP\IESetup.CIF:
00:01.155: ERROR: IEAKPRXY>>IEAK_DLL: ERROR: SetLocalCif on C:\users\focht\Temp\IXP000.TMP\IESetup.CIF returned :0x80004001:
00:01.157: INFO: IEAKPRXY>>[END] Call to IEAKInitialize() 00:01.159: INFO: IEAKPRXY>>[BEGIN] Call to IEAKSetConfiguration() 00:01.160: INFO: IEAKPRXY>>IEAK_DLL: IEAKSetConfiguration: Successfully Set Configured 00:01.162: INFO: IEAKPRXY>>[END] Call to IEAKSetConfiguration(), return value: TRUE 00:01.164: INFO: Trying to extract ID: SetupDownloadList.txt (0) as "SetupDownloadList.txt" 00:01.167: INFO: Trying to extract ID: HardwareBlockingList.xml (0) as "HardwareBlockingList.xml" 00:01.169: INFO: Trying to extract ID: 6006 (0) as "IE11-neutral.Extracted.cab" 00:01.191: INFO: Trying to extract ID: 5501 (1033) as "Spelling_en-US.msu" 00:01.244: INFO: Extracted Spelling dictionary for en-US to C:\windows\TEMP\IE1aade.tmp\Spelling_en-US.msu. 00:01.249: INFO: Trying to extract ID: 5502 (1033) as "Hyphenation_en-US.msu" 00:01.252: INFO: Extracted Hyphenation dictionary for en-US to C:\windows\TEMP\IE1aade.tmp\Hyphenation_en-US.msu. 00:01.255: INFO: Trying to extract ID: 6128 (1033) as "IE11-support.cab" 00:01.732: INFO: Preparing branded setup information. This installation of Internet Explorer includes customized settings and might contain additional programs from .
By clicking Install, you agree to the <A HREF="http://go.microsoft.com/fwlink/?LinkID=298889">Internet Explorer license terms.</A> 00:01.740: INFO: PauseOrResumeAUThread: Successfully paused Automatic Updates. 00:03.264: INFO: Updated Download list, Hardware Blocking list, and no reboot policy files successfully downloaded and extracted for use. 00:03.283: INFO: Launched program to check hardware: "C:\windows\TEMP\IE1aade.tmp\IE11-SUPPORT\IEXPLORE.EXE" /CheckHardware "C:\windows\TEMP\IE1aade.tmp\IE11-support\HardwareBlockingList.xml" 00:03.508: INFO: Graphics Device Information: Intel(R) HD Graphics 4600 00:03.511: INFO: Hardware support check succeeded. Installation will continue. 00:03.513: INFO: Windows 7 operating system detected. 00:03.515: INFO: Service pack major: 1 00:03.517: INFO: Service pack minor: 0 00:03.519: INFO: Service pack name: Service Pack 1 00:03.524: INFO: Version Check for (KB2834140) of C:\windows\System32\d3d11.dll: 7.0.6002.18107 >= 6.2.9200.16570 (True) 00:03.527: INFO: Version Check for (KB2670838) of C:\windows\System32\api-ms-win-downlevel-user32-l1-1-0.dll: 6.2.9200.16426 >= 6.2.9200.16426 (True) 00:03.534: INFO: Version Check for (KB2639308) of C:\windows\System32\Ntoskrnl.exe: 6.1.7601.21863 >= 6.1.7601.21863 (True) 00:03.537: INFO: Version Check for (KB2533623) of C:\windows\System32\api-ms-win-security-base-l1-1-0.dll: 6.1.7601.21728 >= 6.1.7601.21728 (True) 00:03.540: INFO: Version Check for (KB2731771) of C:\windows\System32\conhost.exe: 6.1.7601.22045 >= 6.1.7601.22045 (True) 00:03.543: INFO: Checking for correct version of C:\windows\Fonts\segoeui.ttf. 00:03.551: WARNING: Checking version for C:\windows\System32\taskhost.exe. The file does not exist. 00:03.554: WARNING: Checking version for C:\windows\System32\drivers\tcpip.sys. The file does not exist. 00:03.557: INFO: Version Check for (KB2882822) of C:\windows\System32\tdh.dll: 10.0.16299.15 >= 6.1.7601.18247 (True) 00:03.580: INFO: Download for KB2729094 initiated. Downloading http://go.microsoft.com/fwlink/?LinkID=258384 -> KB2729094_x86.MSU. 00:03.595: INFO: Download for KB2786081 initiated. Downloading http://go.microsoft.com/fwlink/?LinkID=273753 -> KB2786081_x86.CAB. 00:03.613: INFO: Download for KB2888049 initiated. Downloading http://go.microsoft.com/fwlink/?LinkID=324543 -> KB2888049_x86.MSU. 00:03.651: INFO: Download for en Spelling pack initiated. Downloading http://download.microsoft.com/download/B/D/9/BD9A7786-6C54-4425-BE04-7914E5D... -> C:\windows\TEMP\IE1aade.tmp\Spelling_en.msu. 00:03.670: INFO: Download for en Hyphenation pack initiated. Downloading http://download.microsoft.com/download/4/0/E/40E0AF15-3404-4C1E-8FB3-2DE7087... -> C:\windows\TEMP\IE1aade.tmp\Hyphenation_en.msu. 00:03.673: INFO: Waiting for 3 prerequisite downloads. 00:06.868: INFO: Prerequisite download processes have completed. Starting Installation of 3 prerequisites. 00:06.903: INFO: Launched package installation: C:\windows\System32\dism.exe /online /add-package /packagepath:C:\windows\TEMP\IE1aade.tmp\KB2729094\Windows6.1-KB2729094-v2-x86.cab /quiet /norestart 00:06.908: INFO: Process exit code 0x00000000 (0) [Success. ] 00:06.922: INFO: Launched package installation: C:\windows\System32\dism.exe /online /add-package /packagepath:C:\windows\TEMP\IE1aade.tmp\KB2786081_x86.CAB /quiet /norestart 00:06.926: INFO: Process exit code 0x00000000 (0) [Success. ] 00:06.960: INFO: Launched package installation: C:\windows\System32\dism.exe /online /add-package /packagepath:C:\windows\TEMP\IE1aade.tmp\KB2888049\Windows6.1-KB2888049-x86.cab /quiet /norestart 00:06.965: INFO: Process exit code 0x00000000 (0) [Success. ] 00:06.968: INFO: IEAKPRXY>>[BEGIN] Call to IEAKBeforeIEInstallation() 00:06.970: INFO: IEAKPRXY>>IEAK_DLL: IEAKBeforeIEInstallation: All Pre IE custom component installation goes here 00:06.972: INFO: IEAKPRXY>>IEAK_DLL: Queue components for the install engine [PreCustItems]: --- snip ---
As Zebediah already mentioned, the problem after 'dism' stub app is 'inseng' component insufficiency (Wine-Staging https://github.com/wine-staging/wine-staging/tree/master/patches/inseng-Impl... is not mature enough for this) -> different issue.
But even with 'inseng' issue solved and the installer reporting success, IE11 is not installed at all as 'dism' needs more flesh to actually process the downloaded packages.
$ sha1sum EIE11_EN-US_WOL_WIN7.EXE 58e20bbad2f4096eb49bd93f96c52b297a5c813c EIE11_EN-US_WOL_WIN7.EXE
$ du -sh EIE11_EN-US_WOL_WIN7.EXE 31M EIE11_EN-US_WOL_WIN7.EXE
$ wine --version wine-3.9-231-g285c41b259
Regards
https://bugs.winehq.org/show_bug.cgi?id=43509
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.10.