https://bugs.winehq.org/show_bug.cgi?id=55403
Bug ID: 55403 Summary: Office 2021 needs Windows.Management.Deployment.PackageManager Product: Wine Version: 8.12 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: haakobja@gmail.com Distribution: ---
I'm thinking about buying Office 2021 to run it in Wine, but I wanted to try before I bought so I found a page linking to official Office 2021 cd images and downloaded the English version (https://officecdn.microsoft.com/db/492350f6-3a01-4f97-b9c0-c7c6ddf67d60/medi...)
Immediately after starting setup, the installer quits with the following log:
002c:fixme:winediag:LdrInitializeThunk wine-staging 8.12 is a testing version containing experimental patches. 002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org. 0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 0088:fixme:wineusb:query_id Unhandled ID query type 0x5. 0110:fixme:ntdll:EtwEventSetInformation (deadbeef, 0, 00000000, 0) stub 0110:fixme:cryptasn:CryptDecodeObjectEx Unsupported decoder for lpszStructType 1.3.6.1.4.1.311.2.1.12 0110:fixme:cryptasn:CryptDecodeObjectEx Unsupported decoder for lpszStructType 1.3.6.1.4.1.311.2.1.12 0110:fixme:ole:CoInitializeSecurity 00000000, -1, 00000000, 00000000, 0, 3, 00000000, 0, 00000000 stub 0110:fixme:ntdll:EtwEventSetInformation (deadbeef, 0, 00000000, 0) stub 0110:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 009E7331, 56) stub 0110:fixme:ver:GetCurrentPackageId (00C2EBAC 00000000): stub 0110:fixme:nls:get_dummy_preferred_ui_language (0x8 0x809 00C2E904 00000000 00C2E900) returning a dummy value (current locale) 0110:fixme:nls:get_dummy_preferred_ui_language (0x8 0x809 00C2E904 00A736F0 00C2E900) returning a dummy value (current locale) 0110:fixme:ver:GetCurrentPackageId (00C2E424 00000000): stub 0114:fixme:sync:SetWaitableTimerEx (000000E8, 0241DF30, 0, 00000000, 00000000, 00000000, 10000) semi-stub 0110:fixme:ntdll:fill_battery_state Multiple batteries found, only reporting on the first 0058:fixme:nsi:ipv6_forward_enumerate_all not implemented 0058:fixme:nsi:ipv6_forward_enumerate_all not implemented 0110:fixme:ver:GetFileVersionInfoSizeExW flags 0x2 ignored 0110:fixme:ver:GetFileVersionInfoExW flags 0x2 ignored 0110:fixme:ver:GetFileVersionInfoSizeExW flags 0x2 ignored 0110:fixme:ver:GetFileVersionInfoExW flags 0x2 ignored 012c:fixme:combase:RoActivateInstance (03A3FDD4, 03A3FDCC): semi-stub 012c:fixme:combase:RoGetActivationFactory (L"Windows.UI.ViewManagement.UISettings", {00000035-0000-0000-c000-000000000046}, 03A3FD8C): semi-stub 012c:fixme:ui:uisettings2_get_TextScaleFactor iface 03526724, value 03A3FDB8 stub! 012c:fixme:dwmapi:DwmSetWindowAttribute (00010068, 21, 03A3FE8C, 4) stub 012c:fixme:combase:RoActivateInstance (03A3FD84, 03A3FD7C): semi-stub 012c:fixme:combase:RoGetActivationFactory (L"Windows.UI.ViewManagement.UISettings", {00000035-0000-0000-c000-000000000046}, 03A3FD3C): semi-stub 012c:fixme:ui:uisettings2_get_TextScaleFactor iface 03526724, value 03A3FD68 stub! 012c:fixme:combase:RoActivateInstance (03A3FD8C, 03A3FD84): semi-stub 012c:fixme:combase:RoGetActivationFactory (L"Windows.UI.ViewManagement.UISettings", {00000035-0000-0000-c000-000000000046}, 03A3FD44): semi-stub 012c:fixme:ui:uisettings2_get_TextScaleFactor iface 03526724, value 03A3FD70 stub! 0110:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION 0110:fixme:ver:GetPackagesByPackageFamily (L"Microsoft.Office.Desktop_8wekyb3d8bbwe" 00C2E848 00000000 00C2E84C 00000000): stub 0110:fixme:combase:RoGetActivationFactory (L"Windows.Management.Deployment.PackageManager", {00000035-0000-0000-c000-000000000046}, 00C2DF2C): semi-stub 0110:err:combase:RoGetActivationFactory Failed to find library for L"Windows.Management.Deployment.PackageManager" 0110:fixme:combase:RoOriginateLanguageException 0x80040154, L"", 00000000: stub 0110:err:seh:NtRaiseException Unhandled exception code c0000409 flags 1 addr 0x7fe2df
Seems like it's because Windows.Management.Deployment.PackageManager does not exist
https://bugs.winehq.org/show_bug.cgi?id=55403
Mohamad Al-Jaf mowinebugs@mail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mowinebugs@mail.com
--- Comment #1 from Mohamad Al-Jaf mowinebugs@mail.com --- Yeah, it needs Windows.Management.Deployment.PackageManager. This has been on my todo list for some time. This needs a lot of work though and I don't think this is the only class it needs.
https://bugs.winehq.org/show_bug.cgi?id=55403
--- Comment #2 from HÃ¥kon haakobja@gmail.com --- (In reply to Mohamad Al-Jaf from comment #1)
Yeah, it needs Windows.Management.Deployment.PackageManager. This has been on my todo list for some time. This needs a lot of work though and I don't think this is the only class it needs.
I agree, but it's a start. Unfortunately I don't know the functions the setup depends on, but it would be beneficial if we were to find out
https://bugs.winehq.org/show_bug.cgi?id=55403
--- Comment #3 from Mohamad Al-Jaf mowinebugs@mail.com --- Created attachment 75063 --> https://bugs.winehq.org/attachment.cgi?id=75063 installer-starts
Good news, I was curious if just adding a stub interface would be enough and it was. The installer starts now but runs into a similar error as the other Office installers.
Apparently, it's possible to fix this via winetricks and other workarounds, but I can't confirm this.
MR: https://gitlab.winehq.org/wine/wine/-/merge_requests/3672
https://bugs.winehq.org/show_bug.cgi?id=55403
Vijay Kamuju infyquest@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |5de4010eb9957b9060bbabf3ff9 | |fa4ecb33fd07c Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED CC| |infyquest@gmail.com
--- Comment #4 from Vijay Kamuju infyquest@gmail.com --- Fixed by commit 5de4010eb9957b9060bbabf3ff9fa4ecb33fd07c MR is now merged, for other issues a new bug needs to be raised.
https://bugs.winehq.org/show_bug.cgi?id=55403
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 8.21.