http://bugs.winehq.org/show_bug.cgi?id=14390
Summary: Gmax 1.2: Fatal Error on Install - Ended Prematurely. Product: Wine Version: 1.1.0 Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P1 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: gaming4jc2@yahoo.com
Created an attachment (id=14701) --> (http://bugs.winehq.org/attachment.cgi?id=14701) Fatal Error on install.
When installing GMAX 1.2 on WINE 1.1.0 I receive the following errors which are attached.
http://bugs.winehq.org/show_bug.cgi?id=14390
James Hawkins truiken@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |msi
--- Comment #1 from James Hawkins truiken@gmail.com 2008-07-09 16:24:51 --- The problem is in our handling of the WriteEnvironmentStrings action. This action can't be tested, so I'm surprised that this is one of the only few bugs we've had for it. Can you please attach a +msi,+msidb log?
$ WINEDEBUG=+msi,+msidb wine gmax12.exe >& /tmp/msi.log
http://bugs.winehq.org/show_bug.cgi?id=14390
--- Comment #2 from Luke gaming4jc2@yahoo.com 2008-07-10 17:24:48 --- Created an attachment (id=14722) --> (http://bugs.winehq.org/attachment.cgi?id=14722) MSI: Debug Log.
I ran the code, it produced a 30MB debug of MSI. Looks complicated, lol. It is compressed to 1MB and attached.
http://bugs.winehq.org/show_bug.cgi?id=14390
--- Comment #3 from Austin English austinenglish@gmail.com 2009-01-21 11:00:42 --- Is this still an issue in current (1.1.13 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=14390
--- Comment #4 from Luke gaming4jc2@yahoo.com 2009-01-21 15:11:11 --- Created an attachment (id=18875) --> (http://bugs.winehq.org/attachment.cgi?id=18875) Minor differences, but still the same bug in wine 1.1.13
Just tested on Wine 1.1.13 At least it appears to have installed now, even though it crashed on the same error as before.
http://bugs.winehq.org/show_bug.cgi?id=14390
--- Comment #5 from Luke gaming4jc2@yahoo.com 2009-01-21 15:37:10 --- Created an attachment (id=18878) --> (http://bugs.winehq.org/attachment.cgi?id=18878) A new 1.1.13 MSI debug if you need it.
http://bugs.winehq.org/show_bug.cgi?id=14390
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #6 from Anastasius Focht focht@gmx.net 2009-01-21 17:23:58 --- Hello,
--- snip --- ... 001a:trace:msi:MSI_DatabaseOpenViewW L"SELECT * FROM `Environment`" 0x33f86c 001a:trace:msidb:TABLE_CreateView 0x12d010 L"Environment" 0x33ef10 001a:trace:msidb:TABLE_CreateView table 0x315b0f8 found with 4 columns 001a:trace:msidb:TABLE_CreateView L"Environment" one row is 8 bytes 001a:trace:msi:MSI_ParseSQL Parse returned 0 001a:trace:msi:MSI_ViewExecute 0x315d088 (nil) 001a:trace:msidb:TABLE_execute 0x315c480 (nil) 001a:trace:msidb:TABLE_execute There are 4 columns 001a:trace:msi:MSI_ViewFetch 0x315d088 0x33f834 001a:trace:msi:msi_view_get_row 0x12d010 0x315c480 0 0x33f834 001a:trace:msidb:TABLE_get_dimensions 0x315c480 0x33f79c 0x33f798 001a:trace:msidb:MSI_CreateRecord 4 001a:trace:msidb:TABLE_get_column_info 0x315c480 1 (nil) 0x33f790 001a:trace:msidb:MSI_RecordSetStringW 0x68c4b0 1 L"GMAXLOC" 001a:trace:msidb:TABLE_get_column_info 0x315c480 2 (nil) 0x33f790 001a:trace:msidb:MSI_RecordSetStringW 0x68c4b0 2 L"GMAXLOC" 001a:trace:msidb:TABLE_get_column_info 0x315c480 3 (nil) 0x33f790 001a:trace:msidb:MSI_RecordSetStringW 0x68c4b0 3 L"[INSTALLDIR]" 001a:trace:msidb:TABLE_get_column_info 0x315c480 4 (nil) 0x33f790 001a:trace:msidb:MSI_RecordSetStringW 0x68c4b0 4 L"Registry" 001a:err:msi:env_set_flags Invalid flags: 00000000 001a:trace:msi:msiobj_release object 0x68c4b0 destroyed 001a:trace:msi:MSI_ViewClose 0x315d088 001a:trace:msidb:TABLE_close 0x315c480 001a:trace:msidb:TABLE_delete 0x315c480 001a:trace:msi:msiobj_release object 0x315d088 destroyed 001a:err:msi:ITERATE_Actions Execution halted, action L"InstallExecute" returned 1627 --- snip ---
Environment table data, exported with ORCA (above msidb record):
--- snip --- Environment Name Value Component_ s72 l255 L255 s72 Environment Environment GMAXLOC GMAXLOC [INSTALLDIR] Registry --- snip ---
The "Name" column -> "GMAXLOC" has no prefix (hence Wine's env_set_flags() fails) but this seems also valid even if MSDN doesn't explicitly mention it.
You could try to run the installer in Windows with msi verbose logging enabled (usually "voicewarmup", google for it) and dig through the msi log(s). There should be WriteEnvironmentStrings action logged which might give hints if and how this case is handled.
Regards
http://bugs.winehq.org/show_bug.cgi?id=14390
Gilboa Davara gilboad@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gilboad@gmail.com
--- Comment #7 from Gilboa Davara gilboad@gmail.com 2009-05-09 02:41:41 --- Seeing the same under wine 1.18. I'll do my best to produce Windows installer results. (I'll have to install Windows on a VM first...)
- Gilboa
http://bugs.winehq.org/show_bug.cgi?id=14390
--- Comment #8 from Gilboa Davara gilboad@gmail.com 2009-05-10 00:44:38 --- Created an attachment (id=20999) --> (http://bugs.winehq.org/attachment.cgi?id=20999) Gmax installation log from a Windows 2000 VM.
http://bugs.winehq.org/show_bug.cgi?id=14390
--- Comment #9 from Anastasius Focht focht@gmx.net 2009-05-10 04:58:14 --- Hello,
thanks for the +voicewarmup MSI log from Windows.
--- snip --- ... MSI (s) (98:78) [08:36:39:484]: Executing op: ActionStart(Name=WriteEnvironmentStrings,Description=Updating environment strings,Template=Name: [1], Value: [2], Action [3]) Action 8:36:39: WriteEnvironmentStrings. Updating environment strings MSI (s) (98:78) [08:36:39:500]: Executing op: ProgressTotal(Total=1,Type=1,ByteEquivalent=13200) MSI (s) (98:78) [08:36:39:500]: Executing op: UpdateEnvironmentStrings(Name=GMAXLOC,Value=D:\gmax,Delimiter=[~],Action=1,) WriteEnvironmentStrings: Name: GMAXLOC, Value: D:\gmax, Action 1 ... --- snip ---
So it just shows the stuff I dumped with Orca and no failure is recorded. The interesting value here is "Action 1".
This blog (WiX) gives an overview about MSI's prefixes and suffixes for Environment table: http://blogs.technet.com/alexshev/archive/2008/03/28/from-msi-to-wix-part-13...
In the "Name" column for the "*" prefix, a missing "*" indicates "User environment variable". In the "Name" column for the "-" prefix, a missing "-" indicates "Do not remove environment variable on uninstall."
My conclusion is that "name" without prefix is a user environment variable. To be really sure can you look with registry editor in your Windows installation (after app install) in: HKEY_CURRENT_USER\Environment There should be a registry key named "GMAXLOC" present.
Add conformance test for non-prefix case and fix Wine msi env_set_flags() accordingly (introduce another flag or let flags == 0 valid case).
Regards
http://bugs.winehq.org/show_bug.cgi?id=14390
--- Comment #10 from Gilboa Davara gilboad@gmail.com 2009-05-10 10:02:47 --- Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Environment] "GMAXLOC"="D:\Applications\Graphics\GMax\"
http://bugs.winehq.org/show_bug.cgi?id=14390
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #11 from Hans Leidekker hans@meelstraat.net 2009-09-15 08:56:22 --- *** Bug 19673 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=14390
--- Comment #12 from Dan Kegel dank@kegel.com 2009-09-16 20:05:10 --- Platform SDK 2003 now installs fine with today's CVS, please try gmax.
http://bugs.winehq.org/show_bug.cgi?id=14390
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |hans@meelstraat.net Resolution| |FIXED
--- Comment #13 from Hans Leidekker hans@meelstraat.net 2009-12-17 07:24:41 --- Gmax 1.2 installs here.
$ sha1sum gmax12.exe 197b049ab1eda1b26061520e18ae43cf55b97e92 gmax12.exe
http://bugs.winehq.org/show_bug.cgi?id=14390
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #14 from Alexandre Julliard julliard@winehq.org 2009-12-18 13:07:06 --- Closing bugs fixed in 1.1.35.
http://bugs.winehq.org/show_bug.cgi?id=14390
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Installer Fixed by SHA1| |659768e2035d9b721e9c2233b8f | |c3f862904a7ab Summary|Gmax 1.2: Fatal Error on |Gmax 1.2: Fatal Error on |Install - Ended |Install - Ended Prematurely |Prematurely. |
--- Comment #15 from Anastasius Focht focht@gmx.net 2011-10-13 12:56:55 CDT --- Hello,
filling/correcting fields...
Regards