http://bugs.winehq.org/show_bug.cgi?id=35028
Bug #: 35028 Summary: SPSS Legacy Viewer (SmartViewer 15) fails to install ("TempFolder" property reset by custom action) Product: Wine Version: 1.7.7 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: msi AssignedTo: wine-bugs@winehq.org ReportedBy: focht@gmx.net Classification: Unclassified
Hello folks,
trace log reveals it fails in some custom action "SPSSCheckLockingCriteria":
--- snip --- ... 0028:trace:msi:ACTION_CustomAction Handling custom action L"SPSSCheckLockingCriteria" (41 L"NewBinary39" L"ifCustomLocking") ... 0028:trace:msi:msi_get_property returning L"C:\Program Files\SPSS Viewer\" for property L"TempFolder" 0028:Call KERNEL32.GetTempFileNameW(0033f0d8 L"C:\Program Files\SPSS Viewer\",7ed2921a L"msi",00000000,0033eed0) ret=7ecaf796 0028:Ret KERNEL32.GetTempFileNameW() retval=00000000 ret=7ecaf796 0028:trace:msi:create_temp_binary unable to create temp file L"" (267) ... 0028:err:msi:ITERATE_Actions Execution halted, action L"SPSSCheckLockingCriteria" returned 1627 ... --- snip ---
It seems the "TempFolder" msi property has been set to a folder that doesn't exist hence GetTempFileNameW() fails (unique = 0).
Earlier in trace log:
--- snip --- ... 0028:trace:msi:msi_get_property returning L"C:\users\focht\Temp\" for property L"TempFolder" 0028:Call KERNEL32.GetTempFileNameW(0033f278 L"C:\users\focht\Temp\",7ed2921a L"msi",00000000,0033f070) ret=7ecaf796 0028:Ret KERNEL32.GetTempFileNameW() retval=00002998 ret=7ecaf796 ... 0028:trace:msi:msi_get_property returning L"C:\users\focht\Temp\" for property L"TempFolder" ... 0028:trace:msi:msi_set_property 0x14bca0 L"TempFolder" L"C:\users\focht\Temp\" -1 ... 0028:trace:msi:msi_resolve_target_folder L"TempFolder" resolves to L"C:\users\focht\Temp\" ... 006c:trace:msi:msi_resolve_target_folder resolving L"TempFolder" ... 006c:trace:msi:msi_set_property 0x14bca0 L"TempFolder" L"C:\Program Files\SPSS Viewer\" -1 ... 006c:trace:msi:msi_resolve_target_folder L"TempFolder" resolves to L"C:\Program Files\SPSS Viewer\" ... <first snippet> --- snip ---
tid 0x6c which resets "TempFolder" property is a custom action thread:
--- snip --- 0028:trace:msi:HANDLE_CustomType1 Calling function L"SetTARGETDIR" from L"C:\users\focht\Temp\msi4d0a.tmp" ... 0028:trace:msi:wait_thread_handle waiting for L"ConfigureMFC71.E775FF93_F66D_4D6B_B08B_051E8B4371D4" ... 006c:trace:msi:ACTION_CallDllFunction calling L"SetTARGETDIR" ... 006c:Call msi.MsiSetTargetPathA(00000004,0922a18c "TARGETDIR",09c4e79c "C:\Program Files\SPSS Viewer\") ret=092216cb ... --- snip ---
This could be one of the bugs which targets Wine insufficiency of not having a separate custom action server. Like bug 18070 which needs the CA server for COM/MTA isolation.
Regards
http://bugs.winehq.org/show_bug.cgi?id=35028
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, Installer URL| |http://www.rhul.ac.uk/it/fa | |q/itfaqs/softwareandapps/sp | |ss-legacy.aspx
--- Comment #1 from Anastasius Focht focht@gmx.net 2013-12-01 11:55:47 CST --- Hello folks,
filling fields...
$ sha1sum spsslegacyviewer.zip 1b57e81fb25c31f4ea98a552d7fb237928900cae spsslegacyviewer.zip
$ du -sh spsslegacyviewer.zip 57M spsslegacyviewer.zip
$ wine --version wine-1.7.7-230-g2507330
Regards
http://bugs.winehq.org/show_bug.cgi?id=35028
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |fcb924c1441f573fc6eabb2afcb | |44716de373e1c Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello folks,
this is fixed by commit http://source.winehq.org/git/wine.git/commitdiff/fcb924c1441f573fc6eabb2afcb...
Thanks Hans.
The installer reports success now despite some scary looking messages like:
--- snip --- ... err:module:import_dll Library libifcoremd.dll (which is needed by L"C:\PROG~FBU\SPSS~F51\SPSS~F51\SPSS~F51\SPSSIOCV.dll") not found err:module:import_dll Library libmmd.dll (which is needed by L"C:\PROG~FBU\SPSS~F51\SPSS~F51\SPSS~F51\SPSSIOCV.dll") not found err:module:import_dll Library SPSSIOCV.dll (which is needed by L"C:\PROG~FBU\SPSS~F51\SPSS~F51\SPSS~F51\SPSSCMN.dll") not found err:module:import_dll Library SPSSCMN.dll (which is needed by L"C:\PROG~FBU\SPSS~F51\SPSS~F51\SPSS~F51\SPSSGRPH.dll") not found ... --- snip ---
I had a quick look in the installer .msi with ORCA .. those libs should be actually put into system32.
This might be a new msi bug.
Regards
https://bugs.winehq.org/show_bug.cgi?id=35028
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.10.