https://bugs.winehq.org/show_bug.cgi?id=47135
Bug ID: 47135 Summary: Onenote fails to start: Desktop Experience feature is not installed (lacking Win32_ServerFeature class from wbemprox) Product: Wine Version: 4.7 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: wmi&wbemprox Assignee: wine-bugs@winehq.org Reporter: xerox.xerox2000x@gmail.com Distribution: ---
Created attachment 64360 --> https://bugs.winehq.org/attachment.cgi?id=64360 hack to start Onenote
The relaylog below *** made with ONENOTE (MSOffice 2010) shows problem apparently seems to be in wbemprox, missing Win32_ServerFeature class
The attached crappy hack allowed me to start Onenote, and also Onenote from Office365 starts with it. Crappy hack is only to show where the problem is and problably contains several errors, hopefully someone can fix this in proper way (hint at Hans;)).
Sidenote: reverting the hack makes Onenote from Office365 run into the bug again, but Onenote from office 2010 now continues happily to start; maybe it sets some registry key once started and the patch is not needed anymore? No idea.
008c:Call KERNEL32.lstrlenA(2e09825c "SELECT Name FROM Win32_ServerFeature") ret=2e0e8fd1 008c:Ret KERNEL32.lstrlenA() retval=00000024 ret=2e0e8fd1 008c:Call KERNEL32.MultiByteToWideChar(00000000,00000000,2e09825c "SELECT Name FROM Win32_ServerFeature",00000025,00000000,00000000) ret=2e0e8fe7 008c:Ret KERNEL32.MultiByteToWideChar() retval=00000025 ret=2e0e8fe7 008c:Call KERNEL32.MultiByteToWideChar(00000000,00000000,2e09825c "SELECT Name FROM Win32_ServerFeature",00000025,0033f9f0,00000025) ret=2e0e9085 008c:Ret KERNEL32.MultiByteToWideChar() retval=00000025 ret=2e0e9085 008c:Call oleaut32.SysAllocString(0033f9f0 L"SELECT Name FROM Win32_ServerFeature") ret=2e0e90bb . . . .
008c:Call user32.MessageBoxW(00000000,0033f6b2 L"OneNote cannot start because the Desktop Experience feature is not installed. Install it in the Windows Control Panel > Prog rams and Features > Turn Windows features on or off.",39835ba4 L"Microsoft Office",00000030) ret=39bb2183
https://bugs.winehq.org/show_bug.cgi?id=47135
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- It's not necessarily a WMI issue, client versions of Windows do not support this class either. It's possible some earlier version check goes wrong and makes it query for this class.
https://bugs.winehq.org/show_bug.cgi?id=47135
--- Comment #2 from Louis Lenders xerox.xerox2000x@gmail.com --- (In reply to Nikolay Sivov from comment #1)
It's not necessarily a WMI issue, client versions of Windows do not support this class either. It's possible some earlier version check goes wrong and makes it query for this class.
Ok, i`ll have another look at debuglog then, i`ll attach it here later. Guess i have to reinstall again in fresh WINEPREFIX, because onenote from office2010 doesn`t run into this bug anymore once it successfully started once. To be continued I guess
https://bugs.winehq.org/show_bug.cgi?id=47135
--- Comment #3 from Louis Lenders xerox.xerox2000x@gmail.com --- Created attachment 64366 --> https://bugs.winehq.org/attachment.cgi?id=64366 last 5000 lines
I attach last 5000 lines before the wbemprox stuff gets called (generated with Staging-4.7).
i don`t see anything obvious apart from dozens of registry keys that are tried to open; also a strange call GetModuleHandleA(verifier.dll) that fails, seems to be debugging feature, but probably not related to this bug.
https://bugs.winehq.org/show_bug.cgi?id=47135
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|wmi&wbemprox |-unknown Summary|Onenote fails to start: |Onenote fails to start: |Desktop Experience feature |Desktop Experience feature |is not installed (lacking |is not installed |Win32_ServerFeature class | |from wbemprox) |
--- Comment #4 from Louis Lenders xerox.xerox2000x@gmail.com --- edit title
https://bugs.winehq.org/show_bug.cgi?id=47135
pattietreutel katyaberezyaka@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |katyaberezyaka@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=47135
matthias.geiger1024@tutanota.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |matthias.geiger1024@tutanot | |a.de
--- Comment #5 from matthias.geiger1024@tutanota.de --- Hi, came across this bug. Do you have by chanche a patch for wine6.0+ ?
https://bugs.winehq.org/show_bug.cgi?id=47135
docpasmon@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |docpasmon@gmail.com
--- Comment #6 from docpasmon@gmail.com --- I have installed Onenote on wine on ubuntu20.04. Kindly guide me how to use this patch on my onenote installation.
https://bugs.winehq.org/show_bug.cgi?id=47135
--- Comment #7 from Matthias Geiger matthias.geiger1024@tutanota.de --- (In reply to docpasmon from comment #6)
I have installed Onenote on wine on ubuntu20.04. Kindly guide me how to use this patch on my onenote installation.
As far as I understand it, you'll have to purge everything wine-related from your system. Then download git, wine-devtools and pull wine-4.7. After this run git apply to patch wine, then ./make. I´ll give it myself a try, but am busy rn.
https://bugs.winehq.org/show_bug.cgi?id=47135
--- Comment #8 from Matthias Geiger matthias.geiger1024@tutanota.de --- I made a script which allows my custom version of wine5.6 to be built and run. See https://github.com/CountOmega/wine-onenote-buildscript.
https://bugs.winehq.org/show_bug.cgi?id=47135
--- Comment #9 from Matthias Geiger matthias.geiger1024@tutanota.de --- Created attachment 70684 --> https://bugs.winehq.org/attachment.cgi?id=70684 5.7+ patch (not working)
I tried to write a patch for wine 5.7+, which is not working rn.