https://bugs.winehq.org/show_bug.cgi?id=55876
Bug ID: 55876 Summary: Acrom Controller Updater broken due to oleaut32 install Product: Wine Version: 8.19 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: dark.shadow4@web.de Distribution: ---
During installation you get a bunch of errors, terminal shows
0160:err:module:import_dll Loading library OLEAUT32.dll (which is needed by L"C:\windows\system32\msvbvm60.dll") failed (error c000007b).
When restalling the installer, it affects that as well
01a4:err:module:import_dll Loading library oleaut32.dll (which is needed by L"Z:\tmp\ramdisk\Updater2561installer7_0_3.exe") failed (error c000007b). 01a4:err:module:loader_init Importing dlls for L"Z:\tmp\ramdisk\Updater2561installer7_0_3.exe" failed, status c0000135
The installer installs a native oleaut32, but even setting oleaut32 to builtin doesn't help.
https://bugs.winehq.org/show_bug.cgi?id=55876
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://www.arcomcontroller | |s.com/downloads/updater/Upd | |ater2561installer7_0_3.zip Keywords| |download
--- Comment #1 from Fabian Maurer dark.shadow4@web.de --- Archived at https://web.archive.org/web/20231108185413/https://www.arcomcontrollers.com/...
Reported in the forums at https://forum.winehq.org/viewtopic.php?t=38190
https://bugs.winehq.org/show_bug.cgi?id=55876
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com --- Is it really a native module they bundled or some library with matching name? If it's a native module, it's probably best to simply remove it.
https://bugs.winehq.org/show_bug.cgi?id=55876
--- Comment #3 from Fabian Maurer dark.shadow4@web.de --- It's an oleaut32.dll they copy into system32 (32bit wineprefix). If I remove it, it just reinstalls it, and override=builtin doesn't seem to work.
https://bugs.winehq.org/show_bug.cgi?id=55876
--- Comment #4 from Andrew Nguyen arethusa26@gmail.com --- The installer is doing a file version check on the builtin oleaut32.dll. As the version of the builtin (6.0.6001.18000) is older than what the installer is expecting, it replaces the 32-bit oleaut32.dll with its bundled 64-bit version during the installation, which results in the breakage observed. Wine doesn't seem to fall back to the builtin oleaut32.dll if loading the native version fails.
The installer's behavior is buggy and occurs even in a 32-bit Wine prefix, but it would only have been visible if it ran on a sufficiently old version of Windows, as the bundled oleaut32.dll has version 6.1.7601.17676, which is slightly newer than version 6.1.7601.17514 of oleaut32.dll in base Windows 7 SP1.
After updating the oleaut32.dll resources to use the version info of the bundled library, I can run the installer to completion successfully.
https://bugs.winehq.org/show_bug.cgi?id=55876
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com --- Yes, bumping our version is not a problem, I think. And installer really should not be doing that, for a number of reasons.
https://bugs.winehq.org/show_bug.cgi?id=55876
--- Comment #6 from Fabian Maurer dark.shadow4@web.de --- Thanks for the analysis! Are you going to send in a patch?
Can you confirm that setting WINEDLLOVERRIDES=oleaut32=b doesn't help either? Because I'd expect that to work, unless I misunderstood something.
https://bugs.winehq.org/show_bug.cgi?id=55876
--- Comment #7 from Andrew Nguyen arethusa26@gmail.com --- (In reply to Fabian Maurer from comment #6)
Thanks for the analysis! Are you going to send in a patch?
I created a merge request: https://gitlab.winehq.org/wine/wine/-/merge_requests/5300
Can you confirm that setting WINEDLLOVERRIDES=oleaut32=b doesn't help either? Because I'd expect that to work, unless I misunderstood something.
It doesn't help because once the attempt to load the extracted 64-bit oleaut32.dll in a 32-bit process fails, it seems the loader will not fall back to trying the builtin version.
https://bugs.winehq.org/show_bug.cgi?id=55876
Andrew Nguyen arethusa26@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED Fixed by SHA1| |50a1c5bc92ed075104dea8a8eba | |6dd2ec3a25630
--- Comment #8 from Andrew Nguyen arethusa26@gmail.com --- Fixed by https://source.winehq.org/git/wine.git/commitdiff/50a1c5bc92ed075104dea8a8eb...
https://bugs.winehq.org/show_bug.cgi?id=55876
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |oleaut32
https://bugs.winehq.org/show_bug.cgi?id=55876
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 9.5.
https://bugs.winehq.org/show_bug.cgi?id=55876
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |9.0.x
http://bugs.winehq.org/show_bug.cgi?id=55876
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|9.0.x |---
--- Comment #10 from Michael Stefaniuc mstefani@winehq.org --- Removing the 9.0.x milestone from bug fixes included in 9.0.1.