https://bugs.winehq.org/show_bug.cgi?id=51163
Bug ID: 51163 Summary: WinOffice Pro 5.3 stops after splashscreen Product: Wine Version: 6.8 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: maiktapwagner@aol.com Distribution: ---
Created attachment 70031 --> https://bugs.winehq.org/attachment.cgi?id=70031 Console Output (wine 6.8)
Hello everyone,
I came across a forum question where somebody asked how to get the German accounting application WinOffice Pro 5.3 to run. There is a 60 day trial version available and I noticed that the application requires mdac27 and jet40 in a 32-Bit prefix to perform a successful installation.
Starting the application works until the splashscreen but then the application terminates. Console output is attached.
https://bugs.winehq.org/show_bug.cgi?id=51163
Maik Wagner maiktapwagner@aol.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |SUSE URL| |http://www.winofficepro5.de | |/download/wo53_60tage_vollv | |ersion.zip CC| |maiktapwagner@aol.com Keywords| |download
https://bugs.winehq.org/show_bug.cgi?id=51163
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox.xerox2000x@gmail.com Status|UNCONFIRMED |NEW Ever confirmed|0 |1
--- Comment #1 from Louis Lenders xerox.xerox2000x@gmail.com --- Confirming
Just before the splash dissapears a +wbemprox reveals it cannot find SoftwareLicensingProduct class
0120:trace:wbemprox:WbemServices_create namespace L"cimv2", context 00000000, ppObj 08D6F448. 0120:trace:wbemprox:WbemServices_create returning iface 0049C7B8 0120:trace:wbemprox:wbem_services_QueryInterface 0049C7B8 {00000000-0000-0000-c000-000000000046} 08D6F398 0120:trace:wbemprox:wbem_services_QueryInterface 0049C7B8 {00000000-0000-0000-c000-000000000046} 02D35BD4 0120:trace:wbemprox:wbem_services_QueryInterface 0049C7B8 {9556dc99-828c-11cf-a37e-00aa003240c7} 08D6F1C4 0120:trace:wbemprox:wbem_services_ExecQuery 0049C7B8, L"WQL", L"Select * FROM SoftwareLicensingProduct WHERE (LicenseStatus <> 0) AND (LicenseIsAddon <> True)", 0x00000010, 00000000, 08D6F5DC 0120:trace:wbemprox:parse_query wql_parse returned 0 0120:trace:wbemprox:EnumWbemClassObject_create 08D6F5DC 0120:trace:wbemprox:EnumWbemClassObject_create returning iface 0049CAE8
Not 100% sure this is the cause of crash (or silent exit really) though
https://bugs.winehq.org/show_bug.cgi?id=51163
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|WinOffice Pro 5.3 stops |WinOffice Pro 5.3 stops |after splashscreen |after splashscreen, needs | |WMI class | |SoftwareLicensingProduct Component|-unknown |wmi&wbemprox
--- Comment #2 from Louis Lenders xerox.xerox2000x@gmail.com --- Quickly hacked up SoftwareLicensingProduct like below makes the program go further (to run into msado15 bugs apparently). At least it shows 1st problem is missing SoftwareLicensingProduct so change title accordingly. Haven`t got a clue how these values for LicenseStatus and LicenseIsAddon would be retieved on windows.
diff --git a/dlls/wbemprox/builtin.c b/dlls/wbemprox/builtin.c index 6b63c744b69..d93024a471b 100644 --- a/dlls/wbemprox/builtin.c +++ b/dlls/wbemprox/builtin.c @@ -358,6 +358,11 @@ static const struct column col_quickfixengineering[] = { L"Caption", CIM_STRING }, { L"HotFixID", CIM_STRING|COL_FLAG_KEY }, }; +static const struct column col_SoftwareLicensingProduct[] = +{ + { L"LicenseStatus", CIM_UINT32 }, + { L"LicenseIsAddon", CIM_BOOLEAN }, +}; static const struct column col_rawsmbiostables[] = { { L"SMBiosData", CIM_UINT8|CIM_FLAG_ARRAY }, @@ -780,6 +785,12 @@ struct record_quickfixengineering const WCHAR *caption; const WCHAR *hotfixid; }; + +struct record_SoftwareLicensingProduct +{ + UINT32 license_status; + int boolvalue; +}; struct record_rawsmbiostables { const struct array *smbiosdata; @@ -978,6 +989,11 @@ static const struct record_quickfixengineering data_quickfixengineering[] = { L"http://winehq.org", L"KB1234567" }, };
+static const struct record_SoftwareLicensingProduct data_SoftwareLicensingProduct[] = +{ + { 1, 0 }, +}; + static const struct record_stdregprov data_stdregprov[] = { { @@ -4136,6 +4152,7 @@ static struct table cimv2_builtin_classes[] = { L"Win32_Process", C(col_process), 0, 0, NULL, fill_process }, { L"Win32_Processor", C(col_processor), 0, 0, NULL, fill_processor }, { L"Win32_QuickFixEngineering", C(col_quickfixengineering), D(data_quickfixengineering) }, + { L"SoftwareLicensingProduct", C(col_SoftwareLicensingProduct), D(data_SoftwareLicensingProduct) }, { L"Win32_SID", C(col_sid), 0, 0, NULL, fill_sid }, { L"Win32_Service", C(col_service), 0, 0, NULL, fill_service }, { L"Win32_SoundDevice", C(col_sounddevice), 0, 0, NULL, fill_sounddevice },
https://bugs.winehq.org/show_bug.cgi?id=51163
--- Comment #3 from Louis Lenders xerox.xerox2000x@gmail.com --- Created attachment 71546 --> https://bugs.winehq.org/attachment.cgi?id=71546 test
Attaches test, ran yesterday on testbot, and mostly returns zero`s for both props.
Strangely on one testbot the Boolean LicenseIsAddon returns -1. Is that normal?
https://testbot.winehq.org/JobDetails.pl?Key=104964&f102=exe64.report#k1...
query.c:246: L"LicenseStatus": 1 query.c:252: L"LicenseIsAddon": 0 query.c:246: L"LicenseStatus": 0 query.c:252: L"LicenseIsAddon": -1 query.c:246: L"LicenseStatus": 0 query.c:252: L"LicenseIsAddon": 0
https://bugs.winehq.org/show_bug.cgi?id=51163
Ben Shefte shefben@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |shefben@gmail.com
--- Comment #4 from Ben Shefte shefben@gmail.com --- Created attachment 71640 --> https://bugs.winehq.org/attachment.cgi?id=71640 wbemproxy_softwarelicense.patch
I think I did this correctly. I added the softwarelicensing table to wbemproxy..
the patch might need some tune-up but otherwise should work.
https://bugs.winehq.org/show_bug.cgi?id=51163
--- Comment #5 from Ben Shefte shefben@gmail.com --- the patch I added, is the complete table for softwarelicensingproduct, not just the two required columns for this app. hopefully this will fix any other apps that read from that wmi table.
https://bugs.winehq.org/show_bug.cgi?id=51163
Ben Shefte shefben@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #71640|0 |1 is obsolete| |
--- Comment #6 from Ben Shefte shefben@gmail.com --- Created attachment 71641 --> https://bugs.winehq.org/attachment.cgi?id=71641 wbemproxy_softwarelicense.patch
fixed a few mistakes
https://bugs.winehq.org/show_bug.cgi?id=51163
Ben Shefte shefben@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #71641|0 |1 is obsolete| |
--- Comment #7 from Ben Shefte shefben@gmail.com --- Created attachment 71678 --> https://bugs.winehq.org/attachment.cgi?id=71678 wbemproxy_softwarelicense_full_table_fixed.patch
I fixed the patch so it compiles with wine 7.0
https://bugs.winehq.org/show_bug.cgi?id=51163
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |a9826b48e4c385ddce1d7913c41 | |cdc652b8fbf06 Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #8 from Louis Lenders xerox.xerox2000x@gmail.com --- Hi, in current got I`ve got the application running in current git after -WINEARCH=win32 winetricks mdac28 jet40 dotnet35sp1 win10 and then run/install the app.
So there are follow-up bugs for msado15 and Mono/mscoree (as it needs native dotnet). (Interestingly, when you set version to winxp it also queries for wmi class Win32_WindowsProductActivation.)
But all of this really needs seperate reports, so for now i propose to resolve as 'fixed' to address the missing SoftWareLicensing class
https://bugs.winehq.org/show_bug.cgi?id=51163
--- Comment #9 from Louis Lenders xerox.xerox2000x@gmail.com --- Created attachment 71691 --> https://bugs.winehq.org/attachment.cgi?id=71691 screenshot
screenshot; I didn`t know how to add a database, but the app seems to run basically fine
https://bugs.winehq.org/show_bug.cgi?id=51163
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 7.1.
https://bugs.winehq.org/show_bug.cgi?id=51163
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |6.0.x
https://bugs.winehq.org/show_bug.cgi?id=51163
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0.x |7.0.x
https://bugs.winehq.org/show_bug.cgi?id=51163
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|7.0.x |---
--- Comment #11 from Michael Stefaniuc mstefani@winehq.org --- Removing the 6.0.x milestone from bug fixes included in 6.0.4.
https://bugs.winehq.org/show_bug.cgi?id=51163
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |7.0.x
https://bugs.winehq.org/show_bug.cgi?id=51163
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|7.0.x |---
--- Comment #12 from Michael Stefaniuc mstefani@winehq.org --- Removing the 7.0.x milestone from bug fixes included in 7.0.1.