https://bugs.winehq.org/show_bug.cgi?id=47669
--- Comment #34 from ryan@rnrcarpet.com --- So for reference I'm getting it to work by doing: create prefix (eg WINEPREFIX=~/.wine winecfg) change prefix to windows 10 run qb setup and install install .net 4.6 (QB 2020 requires 4.6; 2021 might require 4.7) and msxml6 from winetricks run qb
NEW PROBLEM:
Has a problem on creation of new company and on opening of existing company. I'm thinking this is a .net problem with wine but there's a few ways to go including fixing the mono issue and trying that way.
NOTES:
Installing > .net 4.6 doesn't seem to do anything for QB 2020.
msxml6 must be installed (QB setup installer does install it but its broken in some way from an unknown issue with wine) so need it from winetricks then repair the installation and that works.
vc++ is installed from the QB setup as well and maybe its working fine.
Both wine 5.0 and wine 5.18 appear to work the same here.
This seems to be the common problem where its crashing on new and open company usage:
0058:err:eventlog:ReportEventW L"Application: QBW32.EXE\nFramework Version: v4.0.30319\nDescription: The application requested process termination through System.Environment.FailFast(string message).\nMessage: Unrecoverable system error.\nStack:\n at System.Environment.FailFast(System.String)\n at MS.Internal.Invaria"...
Sadly, that is not entirely shown there.
0024:fixme:path:parse_url failed to parse L"PresentationFramework.Aero" 0024:fixme:path:parse_url failed to parse L"IPPLogin.resources" 0024:fixme:path:parse_url failed to parse L"IPPLogin.resources" 0024:fixme:path:parse_url failed to parse L"ROAHelper" 0024:fixme:path:parse_url failed to parse L"ManagedCommon.resources" 0024:fixme:path:parse_url failed to parse L"ManagedCommon.resources" 0024:fixme:path:parse_url failed to parse L"WPFToolkit" 0024:fixme:path:parse_url failed to parse L"WindowsBase" 0024:fixme:path:parse_url failed to parse L"PresentationFramework" 0024:fixme:path:parse_url failed to parse L"ROAHelper.resources" 0024:fixme:path:parse_url failed to parse L"ROAHelper.resources" 0024:fixme:path:parse_url failed to parse L"PresentationFramework-SystemCore" 0024:fixme:path:parse_url failed to parse L"PresentationFramework-SystemData" 0024:fixme:path:parse_url failed to parse L"PresentationFramework-SystemXmlLinq" 0024:fixme:crypt:SystemFunction041 (23945C84, 10, 0): stub [RtlDecryptMemory] 0024:fixme:win:RegisterPowerSettingNotification (00010280,{02731015-4510-4526-99e6-e5a17ebd1aea},0): stub 0024:fixme:wtsapi:WTSRegisterSessionNotification Stub 0001027A 0x00000000 0024:fixme:msg:ChangeWindowMessageFilterEx 0001027A c0f2 1 0031E8C8 0024:fixme:msg:ChangeWindowMessageFilterEx 0001027A 111 1 0031E8C8 0024:fixme:dwrite:dwritetextanalyzer_AnalyzeNumberSubstitution (0x23ce5178 0 17 0x23ce51a0): stub 0024:fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime"): stub 0024:fixme:advapi:ReportEventW (CAFE4242,0x0001,0x0000,0x00000401,00000000,0x0001,0x00000000,00318904,00000000): stub 0024:err:eventlog:ReportEventW L"Application: QBW32.EXE\nFramework Version: v4.0.30319\nDescription: The application requested process termination through System.Environment.FailFast(string message).\nMessage: Unrecoverable system error.\nStack:\n at System.Environment.FailFast(System.String)\n at MS.Internal.Invaria"... 0024:fixme:advapi:DeregisterEventSource (CAFE4242) stub 0024:fixme:ntdll:EtwEventUnregister (deadbeef) stub. 0024:fixme:htmlhelp:HtmlHelpW HH case HH_UNINITIALIZE not handled. 0024:fixme:ntdll:EtwEventUnregister (deadbeef) stub.
A bunch of stuff that comes before it is .net related so this is why I'm thinking its an issue there. Also that opening and creating a company file requires UI elements that don't appear otherwise. It could be that something is missing still or broken on install but I haven't found what that is as of yet.
There's still some things I need to check. There's a dump file I need to look at as well and maybe that will shed more light on it.
One thing that does work is it successfully updates a company from an older version. Besides that its currently unusable.