https://bugs.winehq.org/show_bug.cgi?id=47418
Bug ID: 47418 Summary: Quickbooks 2018 installer crashes on Validating Install. Product: Wine Version: 4.11 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: yother.andrew@gmail.com Distribution: ---
Created attachment 64764 --> https://bugs.winehq.org/attachment.cgi?id=64764 msiexec backtrace
Zorin OS 15 Core using Linux Kernel 4.18 x86-64 Wine 4.11 x86 wineprefix with dotnet472 vcrun2008-2017 and corefonts
The QuickBooks 2018 Premier installer crashes during the validating install stage with a msiexec crash screen.
Unfortunately I cannot provide a setup file due to licensing. Backtrace and full terminal output are attached.
https://bugs.winehq.org/show_bug.cgi?id=47418
yother.andrew@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |kernel32
--- Comment #1 from yother.andrew@gmail.com --- It appears that this issue is caused by incorrect handling of the "GetFirmwareEnvironmentVariableW" call in kernel32.dll.
https://bugs.winehq.org/show_bug.cgi?id=47418
yother.andrew@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Quickbooks 2018 installer |Quickbooks 2018 installer |crashes on Validating |crashes on Validating |Install. |Install due to | |"GetFirmwareEnvironmentVari | |ableW" issue.
https://bugs.winehq.org/show_bug.cgi?id=47418
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Installer CC| |z.figura12@gmail.com Component|kernel32 |-unknown
--- Comment #2 from Zebediah Figura z.figura12@gmail.com --- No, it's not, it's in RaiseException(); it's just that symbol handling is not quite right. And that in itself doesn't really tell us anything.
Does native msxml help? I don't know which version, but a WINEDEBUG=+loaddll trace will tell you.
https://bugs.winehq.org/show_bug.cgi?id=47418
yother.andrew@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #64764|0 |1 is obsolete| |
--- Comment #3 from yother.andrew@gmail.com --- Created attachment 64791 --> https://bugs.winehq.org/attachment.cgi?id=64791 New Backtrace and Terminal Output
https://bugs.winehq.org/show_bug.cgi?id=47418
--- Comment #4 from yother.andrew@gmail.com --- I have attached the new backtrace and terminal output with WINEDEBUG=+loaddll and the problem does not appear to be with msxml. QuickBooks setup does install msxml 6 during install.
https://bugs.winehq.org/show_bug.cgi?id=47418
--- Comment #5 from yother.andrew@gmail.com --- I just tested native msxml for all versions and it is giving the same error. Could it be a problem with mscoree.dll?
https://bugs.winehq.org/show_bug.cgi?id=47418
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Quickbooks 2018 installer |Quickbooks 2018 installer |crashes on Validating |crashes on Validating |Install due to |Install |"GetFirmwareEnvironmentVari | |ableW" issue. |
--- Comment #6 from Zebediah Figura z.figura12@gmail.com --- Hmm, well, it was worth a try at least.
(In reply to yother.andrew from comment #5)
I just tested native msxml for all versions and it is giving the same error. Could it be a problem with mscoree.dll?
I would not expect so, not if you're using native .NET. (Does builtin .NET run into the same problem? or fail earlier?)
Can you please attach a log with WINEDEBUG=+ole,+rpc,+seh,+pid,+msi,+msiexec?
https://bugs.winehq.org/show_bug.cgi?id=47418
--- Comment #7 from yother.andrew@gmail.com --- QuickBooks force installs .NET if it is not preinstalled. Mono is not detected as being a valid .NET install. I also attached the log.
https://bugs.winehq.org/show_bug.cgi?id=47418
yother.andrew@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #64791|0 |1 is obsolete| |
--- Comment #8 from yother.andrew@gmail.com --- Created attachment 64792 --> https://bugs.winehq.org/attachment.cgi?id=64792 New Backtrace and Terminal Output
https://bugs.winehq.org/show_bug.cgi?id=47418
--- Comment #9 from Zebediah Figura z.figura12@gmail.com --- Sorry, but that doesn't have the crashing process in it. If the full log is too big to upload, try compressing it first.
https://bugs.winehq.org/show_bug.cgi?id=47418
yother.andrew@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #64792|0 |1 is obsolete| |
--- Comment #10 from yother.andrew@gmail.com --- Created attachment 64793 --> https://bugs.winehq.org/attachment.cgi?id=64793 Compressed debug log
https://bugs.winehq.org/show_bug.cgi?id=47418
--- Comment #11 from yother.andrew@gmail.com --- Sorry about the broken log. Forgot that the terminal cuts off after so many lines.
https://bugs.winehq.org/show_bug.cgi?id=47418
--- Comment #12 from Zebediah Figura z.figura12@gmail.com --- Created attachment 64795 --> https://bugs.winehq.org/attachment.cgi?id=64795 patch
If you are able to compile Wine, can you please try the attached patch?
https://bugs.winehq.org/show_bug.cgi?id=47418
--- Comment #13 from Zebediah Figura z.figura12@gmail.com --- Actually, no. That patch is likely correct, but I don't think it will solve this problem. I'll keep looking.
https://bugs.winehq.org/show_bug.cgi?id=47418
--- Comment #14 from Zebediah Figura z.figura12@gmail.com --- Created attachment 64797 --> https://bugs.winehq.org/attachment.cgi?id=64797 patch to msi
This is probably a better fix. Fixing this on the ole32 side requires making sure that OXIDs really are unique, even if an apartment is destroyed and recreated, which is more work than it's worth.
https://bugs.winehq.org/show_bug.cgi?id=47418
--- Comment #15 from yother.andrew@gmail.com --- I will have to create a ubuntu vm for compilation due to lxc not working on Zorin OS next week.
https://bugs.winehq.org/show_bug.cgi?id=47418
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Component|-unknown |msi Status|UNCONFIRMED |NEW CC| |focht@gmx.net Ever confirmed|0 |1 URL| |https://web.archive.org/web | |/20190630181147/https://glo | |balsmallbusiness.intuit.com | |/downloads/UK/QuickBooks/20 | |18/dls/hqg1xukchar6/QuickBo | |oksUK2018Trial.exe
--- Comment #16 from Anastasius Focht focht@gmx.net --- Hello folks,
adding stable download links via Internet Archive:
https://web.archive.org/web/20190630173846/https://globalsmallbusiness.intui...
https://web.archive.org/web/20190630181147/https://globalsmallbusiness.intui...
Prerequisite:
* .NET Framework 4.6.2+ ('winetricks -q dotnet462') * some ActiveX controls require MFC42 ('winetricks -q mfc42')
The patch fixes the crash. Thanks Zebediah.
NOTE: At one point during installation there is a large delay of ~5 mins without any visible UI progress (shows 'qbdbserv'). You just have to be patient.
--- snip --- ... INSTALLMESSAGE_INFO Message: Action start 8:45:02: CopyScannerWizardDataFiles.2B6316DC_4478_4804_9A37_DB5822785D7C. INSTALLMESSAGE_INFO Message: InstallShield 8:45:02: Running InstallScript function f1 INSTALLMESSAGE_INFO Message: InstallShield 8:45:02: Opening stream of file C:\users\focht\Temp\msi7984.tmp INSTALLMESSAGE_INFO Message: InstallShield 8:45:02: Extracting support file IsConfig.ini to C:\users\focht\Temp{F5A06FE5-50A6-4C49-B3A4-F456B03EFF28}\IsConfig.ini INSTALLMESSAGE_INFO Message: InstallShield 8:45:02: Extracted isconfig.ini to C:\users\focht\Temp{F5A06FE5-50A6-4C49-B3A4-F456B03EFF28}\IsConfig.ini INSTALLMESSAGE_INFO Message: InstallShield 8:45:02: Got '{BB2E3286-7568-4E67-B529-5FEEB288A485}' for TempPathGuid from isconfig.ini INSTALLMESSAGE_INFO Message: InstallShield 8:45:02: Attempting to use temp path 'C:\users\focht\Temp{BB2E3286-7568-4E67-B529-5FEEB288A485}' INSTALLMESSAGE_INFO Message: InstallShield 8:45:02: Using temp folder C:\users\focht\Temp{F5A06FE5-50A6-4C49-B3A4-F456B03EFF28} INSTALLMESSAGE_INFO Message: InstallShield 8:45:02: Installing engine... INSTALLMESSAGE_INFO Message: InstallShield 8:45:02: Using product language 2057 INSTALLMESSAGE_INFO Message: InstallShield 8:45:02: Extracting support file setup.inx to C:\users\focht\Temp{F5A06FE5-50A6-4C49-B3A4-F456B03EFF28}\setup.inx INSTALLMESSAGE_INFO Message: InstallShield 8:45:02: Extracting support file ISRT.dll to C:\users\focht\Temp{F5A06FE5-50A6-4C49-B3A4-F456B03EFF28}\ISRT.dll INSTALLMESSAGE_INFO Message: InstallShield 8:45:02: Detected X64 OS INSTALLMESSAGE_INFO Message: InstallShield 8:45:02: Extracting support file ISBEWX64.exe to C:\users\focht\Temp{F5A06FE5-50A6-4C49-B3A4-F456B03EFF28}\ISBEW64.exe INSTALLMESSAGE_INFO Message: InstallShield 8:45:02: Extracting support file _isres_0x0809.dll to C:\users\focht\Temp{F5A06FE5-50A6-4C49-B3A4-F456B03EFF28}_isres_0x0809.dll INSTALLMESSAGE_INFO Message: InstallShield 8:45:02: Failed to extract file _isres_0x0809.dll. Error = 0 INSTALLMESSAGE_INFO Message: InstallShield 8:45:02: Falling back to language 1033 for current custom action INSTALLMESSAGE_INFO Message: InstallShield 8:45:02: Extracting support file _isres_0x0409.dll to C:\users\focht\Temp{F5A06FE5-50A6-4C49-B3A4-F456B03EFF28}_isres_0x0409.dll INSTALLMESSAGE_INFO Message: InstallShield 8:45:02: Extracting support file String1033.txt to C:\users\focht\Temp{F5A06FE5-50A6-4C49-B3A4-F456B03EFF28}\String1033.txt INSTALLMESSAGE_INFO Message: InstallShield 8:45:02: Skipping optional support file _isuser_0x0409.dll INSTALLMESSAGE_INFO Message: InstallShield 8:45:02: Setting script cmdline... INSTALLMESSAGE_INFO Message: InstallShield 8:45:02: ProductCode is {48011BF6-E0BC-4B49-9DCA-C7144EF0C01E} INSTALLMESSAGE_INFO Message: InstallShield 8:45:02: Initializing Engine INSTALLMESSAGE_INFO Message: InstallShield 8:50:04: Done Initializing... INSTALLMESSAGE_INFO Message: InstallShield 8:50:04: Registering Msi Server... INSTALLMESSAGE_INFO Message: InstallShield 8:50:04: Invoking script function CopyScannerWizardDataFiles INSTALLMESSAGE_INFO Message: *** LogInfo: CopyScannerWizardDataFiles - Start ... --- snip ---
The installer still doesn't fully finish, hanging at 'ABS PDF Driver' part (shows message box which can't be focused/dismissed) but that's another problem. I will create a separate bug report for that.
$ sha1sum QuickBooksUK2018* 690d76279bc03ec409d31342a44dc4ff37625d09 QuickBooksUK2018.exe 7f7f83a21e614e95190fac97a4e135d4f1f3365f QuickBooksUK2018Trial.exe
$ du -sh QuickBooksUK2018* 729M QuickBooksUK2018.exe 709M QuickBooksUK2018Trial.exe
$ wine --version wine-4.11-192-g90a1e5d943
Regards
https://bugs.winehq.org/show_bug.cgi?id=47418
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |47442
https://bugs.winehq.org/show_bug.cgi?id=47418
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |operations@yocopcs.com
--- Comment #17 from Anastasius Focht focht@gmx.net --- *** Bug 46134 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=47418
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |joshualmcgill@gmail.com
--- Comment #18 from Anastasius Focht focht@gmx.net --- *** Bug 44398 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=47418
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED Fixed by SHA1| |e4e7e956bd93f0ffd597a041a58 | |c82c02c811ac0
--- Comment #19 from Anastasius Focht focht@gmx.net --- Hello folks,
this is fixed by commit https://source.winehq.org/git/wine.git/commitdiff/e4e7e956bd93f0ffd597a041a5... ("msi: Close all handles opened by a custom action thread.")
Thanks Zebediah
Remaining issues are covered by follow-up tickets.
$ wine --version wine-4.11-231-g95be042be3
Regards
https://bugs.winehq.org/show_bug.cgi?id=47418
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #20 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.12.
https://bugs.winehq.org/show_bug.cgi?id=47418
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |4.0.x
https://bugs.winehq.org/show_bug.cgi?id=47418
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|4.0.x |---
--- Comment #21 from Michael Stefaniuc mstefani@winehq.org --- Removing the 4.0.x milestone from bug fixes included in 4.0.3.