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