http://bugs.winehq.org/show_bug.cgi?id=34804
Bug #: 34804 Summary: Installation of Windows Installer Cleanup utility fails due to wshom:WshShell3_ExpandEnvironmentStrings being a stub Product: Wine Version: 1.7.5 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 folks,
as the summary says ...
While investigating .NET installer issues I tried to run the installer of "Windows Installer Cleanup utility" (MSICUU2.exe) mentioned in this blog:
http://blog.armgasys.com/?p=127
It fails:
--- snip --- $ WINEDEBUG=+tid,+seh,+relay,+wshom wine ./msicuu2.exe >>log2.txt 2>&1 ... 0026:trace:wshom:WshShell3_QueryInterface ({a6ef9860-c720-11d0-9337-00a0c90dcaa9}, 0x33f990) 0026:fixme:wshom:WshShell3_QueryInterface Unknown iface {a6ef9860-c720-11d0-9337-00a0c90dcaa9} 0026:trace:wshom:WshShell3_Invoke (1006 {00000000-0000-0000-0000-000000000000} 1033 3 0x33fa24 0x33fa70 0x33f970 0x33f96c) ... 0026:fixme:wshom:WshShell3_ExpandEnvironmentStrings (L"%ProgramFiles%" 0x33f000): stub ... 0026:trace:wshom:WshShell3_Release () --- snip ---
'winetricks -q wsh57' works around and the installer GUI is shown.
Source: http://source.winehq.org/git/wine.git/blob/5db4741d0b074ca0080adf36c3fdb440b...
--- snip --- 740 static HRESULT WINAPI WshShell3_ExpandEnvironmentStrings(IWshShell3 *iface, BSTR Src, BSTR* out_Dst) 741 { 742 FIXME("(%s %p): stub\n", debugstr_w(Src), out_Dst); 743 return E_NOTIMPL; 744 } --- snip ---
The actual application 'msicuu.exe' later needs 'winetricks -q vb6run'.
Regards
http://bugs.winehq.org/show_bug.cgi?id=34804
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, Installer URL| |http://blog.armgasys.com/wp | |-content/downloads/msicuu2. | |exe
--- Comment #1 from Anastasius Focht focht@gmx.net 2013-10-26 09:02:32 CDT --- Hello folks,
filling fields...
$ du -sh msicuu2.exe 352K msicuu2.exe $ sha1sum msicuu2.exe 23d3c4d0869769f424b1c0c54f18c50761ca2c14 msicuu2.exe
Regards
http://bugs.winehq.org/show_bug.cgi?id=34804
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com 2013-10-26 14:56:10 CDT --- Created attachment 46416 --> http://bugs.winehq.org/attachment.cgi?id=46416 patch
Does this one work?
http://bugs.winehq.org/show_bug.cgi?id=34804
--- Comment #3 from Nikolay Sivov bunglehead@gmail.com 2013-10-27 02:43:03 CDT --- Expansion works fine, but it don't see GUI anyway. With this patch wshom part exits cleanly but later on I get:
--- warn:vbscript:exec_script Failed 80020009 ---
so probably wsh57 also gets you native vbscript, and next problem is about it. I'll dump a script to see what's that about.
http://bugs.winehq.org/show_bug.cgi?id=34804
--- Comment #4 from Nikolay Sivov bunglehead@gmail.com 2013-10-27 03:02:18 CDT --- It turns out that next problem is about scrrun:
--- trace:scrrun:filesys_CopyFile 0x7e114e18 L"C:\users\nsivov\Temp\IXP000.TMP\M*.*" L"C:\Program Files" -1 trace:scrrun:copy_file copying L"C:\users\nsivov\Temp\IXP000.TMP\msicuu.exe" to L"C:\Program Files" trace:scrrun:filesys_CopyFile ret 0x800a0046 trace:scrrun:filesys_Release 0x7e114e18 warn:vbscript:exec_script Failed 80020009 ---
It fails with CTL_E_PERMISSIONDENIED, and you get native scrrun with wsh57 I think.
http://bugs.winehq.org/show_bug.cgi?id=34804
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com 2013-10-28 17:38:49 CDT --- ExpandEnvironmentStrings() method is implemented with 71ecb55661a8cf14a0e19b94749f1d8957c9ab16, please open another report for a next problem.
http://bugs.winehq.org/show_bug.cgi?id=34804
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |71ecb55661a8cf14a0e19b94749 | |f1d8957c9ab16 Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #6 from Anastasius Focht focht@gmx.net 2013-10-29 11:41:42 CDT --- Hello folks,
fixed by commit http://source.winehq.org/git/wine.git/commitdiff/71ecb55661a8cf14a0e19b94749...
Thanks Nikolay
Regards
http://bugs.winehq.org/show_bug.cgi?id=34804
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org 2013-11-08 12:33:10 CST --- Closing bugs fixed in 1.7.6.
https://bugs.winehq.org/show_bug.cgi?id=34804
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |1.6.x
https://bugs.winehq.org/show_bug.cgi?id=34804
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.6.x |---
--- Comment #8 from Alexandre Julliard julliard@winehq.org --- Removing 1.6.x milestone from bugs included in 1.6.2.
https://bugs.winehq.org/show_bug.cgi?id=34804
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |wshom.ocx
https://bugs.winehq.org/show_bug.cgi?id=34804
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://blog.armgasys.com/wp |https://web.archive.org/web |-content/downloads/msicuu2. |/20160821044345/http://blog |exe |.armgasys.com/wp-content/do | |wnloads/msicuu2.exe
--- Comment #9 from Anastasius Focht focht@gmx.net --- Hello folks,
adding stable download link via Internet Archive for documentation.
https://web.archive.org/web/20160821044345/http://blog.armgasys.com/wp-conte...
https://www.virustotal.com/gui/file/08565fe3a18e051f9f557c219a51844dbac4a6de...
$ sha1sum msicuu2.exe 23d3c4d0869769f424b1c0c54f18c50761ca2c14 msicuu2.exe
$ du -sh msicuu2.exe 352K msicuu2.exe
Regards