http://bugs.winehq.org/show_bug.cgi?id=30651
Bug #: 30651 Summary: ie5wzd.exe from ie5setup.exe installer crashes Product: Wine Version: 1.5.4 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: focht@gmx.net Classification: Unclassified
Hello,
just adding the bug for documentation purposes (so it can be searched/referenced). It's actually a WONTFIX. According to bingoogle it will behave the same way on modern Windows = crash.
The IE5 installer is bundled with several older app installers. I encountered this with MS Money 2002.
When the installer is started (silent mode) the sub-installer "ie5wzd.exe" crashes:
--- snip --- ... 0026:Call KERNEL32.CreateProcessA(00000000,00436f04 ""Z:\home\focht\Downloads\Microsoft Money 2002\ie\ie5setup.exe" /Q /R:N /C:"ie5wzd.exe /P /Q:C /R:N /X:1 /E: /E:HTMLHelp /E:HTMLHelp_NTx86 /E:128Update /E:MSVBScript /E:MSVBScript_W2K /E:AddressBook /s:""#e"""",00000000,00000000,00000000,00000000,00000000,00000000,0032e440,0032e430) ret=004065d6 ... 002f:Call KERNEL32.__wine_kernel_init() ret=7bc530d2 0026:Ret KERNEL32.CreateProcessA() retval=00000001 ret=004065d6 ... 002f:Call KERNEL32.CreateProcessA(00000000,0012fb30 "C:\users\focht\Temp\IXP001.TMP\ie5wzd.exe /P /Q:C /R:N /X:1 /E: /E:HTMLHelp /E:HTMLHelp_NTx86 /E:128Update /E:MSVBScript /E:MSVBScript_W2K /E:AddressBook /s:"Z:\home\focht\Downloads\Microsoft Money 2002\IE\IE5SETUP.EXE"",00000000,00000000,00000000,00000020,00000000,00000000,0033fd50,0033fc20) ret=01003aab ... 0031:Call KERNEL32.__wine_kernel_init() ret=7bc530d2 002f:Ret KERNEL32.CreateProcessA() retval=00000001 ret=01003aab ... 0031:trace:seh:raise_exception code=c0000005 flags=0 addr=0x1019494 ip=01019494 tid=0031 0031:trace:seh:raise_exception info[0]=00000000 0031:trace:seh:raise_exception info[1]=00000000 0031:trace:seh:raise_exception eax=00000000 ebx=00000000 ecx=00000000 edx=00000000 esi=7ed5dcd8 edi=00000004 0031:trace:seh:raise_exception ebp=0033fb54 esp=0033fb40 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00010246 0031:trace:seh:call_stack_handlers calling handler at 0x7bc91b99 code=c0000005 flags=0 0031:Call KERNEL32.UnhandledExceptionFilter(0033f618) ret=7bc91bd3 wine: Unhandled page fault on read access to 0x00000000 at address 0x1019494 (thread 0031), starting debugger... ... Backtrace: =>0 0x01019494 in ie5wzd (+0x19494) (0x0033fb54) 1 0x01019354 in ie5wzd (+0x19353) (0x0033fb84) 2 0x01014e6e in ie5wzd (+0x14e6d) (0x80000002) 0x01019494: movl 0x0(%eax),%edx Modules: Module Address Debug info Name (95 modules) PE 1000000- 1032000 Export ie5wzd ... 00000030 (D) C:\users\focht\Temp\IXP001.TMP\ie5wzd.exe 00000031 0 <== --- snip ---
There is not much to see in trace log that could give a hint about crash cause. I took a quick glance and it seems some code path is missed/init skipped .. though I didn't try seriously (I consider it waste of time because it will fail at later stage, see bug 1588) Maybe it's kind of Win9X era behaviour.
---
The whole installer procedure can be avoided by pretending some components are already installed.
Logfile:
--- snip --- ... CPackageManager() is initializing package objects and checking install requirements ActiveSetup 'MSVBScript /E:MSVBScript_W2K' Required. Triggering IE install IE pkg: m_fRequired==1; m_fActiveSetupRequired==1 ... --- snip ---
Registry query:
--- snip --- 0024:Call advapi32.RegOpenKeyExA(80000002,0032fb04 "Software\Microsoft\Active Setup\Installed Components\{DE5AED00-A4BF-11D1-9948-00C04F98BBC9}",00000000,00000001,00439fdc) ret=0040a150 0024:Ret advapi32.RegOpenKeyExA() retval=00000000 ret=0040a150 0024:Call advapi32.RegQueryValueExA(00000048,0041cc5c "IsInstalled",00000000,0032fadc,0032fafc,0032fad8) ret=0040a2c4 0024:Ret advapi32.RegQueryValueExA() retval=00000000 ret=0040a2c4 0024:Call advapi32.RegOpenKeyExA(80000002,0032fb04 "Software\Microsoft\Active Setup\Installed Components\128PATCH",00000000,00000001,0043a064) ret=0040a150 0024:Ret advapi32.RegOpenKeyExA() retval=00000002 ret=0040a150 0024:Call advapi32.RegOpenKeyExA(80000002,0032fb04 "Software\Microsoft\Active Setup\Installed Components\{4F645220-306D-11D2-995D-00C04F98BBC9}",00000000,00000001,0043a0ec) ret=0040a150 0024:Ret advapi32.RegOpenKeyExA() retval=00000002 ret=0040a150 0024:Call advapi32.RegOpenKeyExA(80000002,0032fb04 "Software\Microsoft\Active Setup\Installed Components\{7790769C-0471-11D2-AF11-00C04FA35D02}",00000000,00000001,0043a174) ret=0040a150 0024:Ret advapi32.RegOpenKeyExA() retval=00000002 ret=0040a150 0024:Call advapi32.RegOpenKeyExA(80000002,0041da78 "Software\Microsoft\Internet Explorer",00000000,00000001,0032fb78) ret=0040a150 0024:Ret advapi32.RegOpenKeyExA() retval=00000000 ret=0040a150 0024:Call advapi32.RegQueryValueExA(0000004c,0041cc50 "Version",00000000,0032fb58,0032fb8c,0032fb68) ret=0040a245 0024:Ret advapi32.RegQueryValueExA() retval=00000000 ret=0040a245 0024:Call KERNEL32.lstrlenA(0032fb8c "8.0.6001.18702") ret=00407a72 0024:Ret KERNEL32.lstrlenA() retval=0000000e ret=00407a72 --- snip ---
"Installable Components in Internet Explorer":
http://msdn.microsoft.com/en-us/library/ms531355%28v=vs.85%29.aspx
Microsoft Windows Script 5.6 "{4f645220-306d-11d2-995d-00c04f98bbc9}"
--- snip --- HKEY_LOCAL_MACHINE\Software\Microsoft\Active Setup\Installed Components{4f645220-306d-11d2-995d-00c04f98bbc9} @="Windows Script version 5.6" "ComponentID"="MSVBScript" "IsInstalled"=dword:00000001 "Locale"="EN" "Version"="5,6,0,8513" "OldDisplayName"="WindowsScriptVersion5.5" ... --- snip ---
You pretend by running follow command (one line):
--- snip --- $ wine reg add "HKLM\Software\Microsoft\Active Setup\Installed Components\{4f645220-306d-11d2-995d-00c04f98bbc9}" /v IsInstalled /t REG_DWORD /d 0001 /f --- snip ---
It still fails, needing another component:
--- snip --- 0024:Call advapi32.RegOpenKeyExA(80000002,0032fb04 "Software\Microsoft\Active Setup\Installed Components\{7790769C-0471-11D2-AF11-00C04FA35D02}",00000000,00000001,0043a174) ret=0040a150 0024:Ret advapi32.RegOpenKeyExA() retval=00000002 ret=0040a150 ... 0024:Call KERNEL32.lstrlenA(0032f9a0 "ActiveSetup 'AddressBook' Required. Triggering IE install\r\n") ret=0040aa32 0024:Ret KERNEL32.lstrlenA() retval=0000003b ret=0040aa32 ... --- snip ---
Address Book "{7790769C-0471-11D2-AF11-00C04FA35D02}"
Again, pretend using following command (one line):
--- snip --- $ wine reg add "HKLM\Software\Microsoft\Active Setup\Installed Components\{7790769C-0471-11D2-AF11-00C04FA35D02}" /v IsInstalled /t REG_DWORD /d 0001 /f --- snip ---
With both registry keys present the IE5 installer procedure is not triggered and the crash is avoided for app installers.
$ wine --version wine-1.5.4
Regards
http://bugs.winehq.org/show_bug.cgi?id=30651
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, Installer Status|NEW |RESOLVED URL| |http://www-pc.uni-regensbur | |g.de/systemsw/IE55/download | |/WIN32/EN/ie5setup.exe Resolution| |WONTFIX
--- Comment #1 from Anastasius Focht focht@gmx.net 2012-05-11 19:08:06 CDT --- Hello,
and marking WONTFIX ...
Quick reproduce:
--- snip --- $ wine ./ie5setup.exe /Q /R:N /C:"ie5wzd.exe /P /Q:C /R:N /X:1 /E:" --- snip ---
$ du -sh ie5setup.exe 496K ie5setup.exe
$ sha1sum ie5setup.exe 414e1f192fa9ff8a0ab761c03c7449bea7f3b04d ie5setup.exe
Regards
http://bugs.winehq.org/show_bug.cgi?id=30651
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|ie5wzd.exe from |IE5 installer (ie5wzd.exe) |ie5setup.exe installer |crashes in offline mode |crashes |
http://bugs.winehq.org/show_bug.cgi?id=30651
--- Comment #2 from Austin English austinenglish@gmail.com 2012-05-13 18:45:07 CDT --- I get a crash: austin@aw21 ~ $ wine --version wine-1.5.4 austin@aw21 ~ $ cat foo.sh #!/bin/bash wineserver -k rm -rf $HOME/.wine wine reg add "HKLM\Software\Microsoft\Active Setup\Installed Components\{4f645220-306d-11d2-995d-00c04f98bbc9}" /v IsInstalled /t REG_DWORD /d 0001 /f wine reg add "HKLM\Software\Microsoft\Active Setup\Installed Components\{7790769C-0471-11D2-AF11-00C04FA35D02}" /v IsInstalled /t REG_DWORD /d 0001 /f wine ./ie5setup.exe /Q /R:N /C:"ie5wzd.exe /P /Q:C /R:N /X:1 /E:"
+ wine ./ie5setup.exe /Q /R:N '/C:"ie5wzd.exe' /P /Q:C /R:N /X:1 '/E:"' fixme:storage:create_storagefile Storage share mode not implemented. fixme:advpack:set_ldids Need to support changing paths - default will be used fixme:advpack:set_ldids Need to support changing paths - default will be used fixme:inseng:DllGetClassObject {6e449686-c509-11cf-aafa-00aa00b6015c} {00000001-0000-0000-c000-000000000046} 0x5dea00 err:ole:apartment_getclassobject DllGetClassObject returned error 0x80040111 err:ole:create_server class {6e449686-c509-11cf-aafa-00aa00b6015c} not registered err:ole:CoGetClassObject no class object {6e449686-c509-11cf-aafa-00aa00b6015c} could be created for context 0x5 wine: Unhandled page fault on read access to 0x00000000 at address 0x10195a9 (thread 0033), starting debugger... Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x010195a9). err:dbghelp:pe_load_dbg_file Couldn't find .DBG file "exe\ie5wzdex.dbg" ("") Register dump:
if I set wine to win95 mode, I get an unhandled divide by zero: + wine ie5setup.exe /Q /R:N '/C:ie5wzd.exe /P /Q:C /R:N /X:1 /E:' fixme:storage:create_storagefile Storage share mode not implemented. fixme:advpack:set_ldids Need to support changing paths - default will be used fixme:advpack:set_ldids Need to support changing paths - default will be used fixme:wininet:InternetLockRequestFile STUB wine: Unhandled division by zero at address 0x100c87e (thread 0022), starting debugger... Unhandled exception: divide by zero in 32-bit code (0x0100c87e). err:dbghelp:pe_load_dbg_file Couldn't find .DBG file "exe\ie5wzdex.dbg" ("") Register dump:
http://bugs.winehq.org/show_bug.cgi?id=30651
--- Comment #3 from Anastasius Focht focht@gmx.net 2012-05-14 01:24:10 CDT --- Hello Austin,
both registry keys are only for app installers (e.g. MS Money 2002) which are not subject of this bug, not ie5setup. They check these and don't start ie5setup.exe if present, hence no crash.
"The whole installer procedure can be avoided by pretending some components are already installed."
I don't see any benefit in wasting time on this as the installer is said to crash on Windows NT+ based systems too.
Regards
http://bugs.winehq.org/show_bug.cgi?id=30651
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Austin English austinenglish@gmail.com 2012-05-14 03:14:15 CDT --- Fair enough, thanks.