https://bugs.winehq.org/show_bug.cgi?id=51864
Bug ID: 51864 Summary: VeraCrypt Installer for 1.24-Update7 (Win8+) fails with HRESULT 0x800288BD Product: Wine Version: 6.18 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: oleaut32 Assignee: wine-bugs@winehq.org Reporter: besentv@gmail.com Distribution: ---
Created attachment 70779 --> https://bugs.winehq.org/attachment.cgi?id=70779 Veracrypt installer Winedump
Seems like the installer, a 32bit App, tries to register a 64bit TypeLib, but it fails:
... 0100:Call oleaut32.RegisterTypeLib(00f2d118,051dd278 L"C:\Program Files\VeraCrypt\VeraCrypt.exe",00000000) ret=00403782 0100:Ret oleaut32.RegisterTypeLib() retval=800288bd ret=00403782 ... 0100:Call oleaut32.RegisterTypeLib(00f2d118,051dd278 L"C:\Program Files\VeraCrypt\VeraCrypt.exe",00000000) ret=00403782 0100:Ret oleaut32.RegisterTypeLib() retval=800288bd ret=00403782 ...
A quick check of the source code shows us, that wine does this on purpose:
oleaut32.typelib.c:
HRESULT WINAPI RegisterTypeLib(ITypeLib *ptlib, const WCHAR *szFullPath, const WCHAR *szHelpDir) { ... #ifndef _WIN64 if (attr->syskind == SYS_WIN64) return TYPE_E_BADMODULEKIND; #endif ... }
Windows allows this behavior, as the installer works perfectly fine there.
https://bugs.winehq.org/show_bug.cgi?id=51864
--- Comment #1 from Bernhard besentv@gmail.com --- Created attachment 70780 --> https://bugs.winehq.org/attachment.cgi?id=70780 Veracrypt.exe Winedump
https://bugs.winehq.org/show_bug.cgi?id=51864
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
https://bugs.winehq.org/show_bug.cgi?id=51864
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #2 from winetest@luukku.com --- Created attachment 70843 --> https://bugs.winehq.org/attachment.cgi?id=70843 possible patch
https://bugs.winehq.org/show_bug.cgi?id=51864
Bernhard Kölbl besentv@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #3 from Bernhard Kölbl besentv@gmail.com --- fixed in c159f5438aab5eeb795955d9270892e5c2d38cc3
https://bugs.winehq.org/show_bug.cgi?id=51864
Bernhard Kölbl besentv@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |c159f5438aab5eeb795955d9270 | |892e5c2d38cc3
https://bugs.winehq.org/show_bug.cgi?id=51864
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.22.
https://bugs.winehq.org/show_bug.cgi?id=51864
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |6.0.x
https://bugs.winehq.org/show_bug.cgi?id=51864
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0.x |---
--- Comment #5 from Michael Stefaniuc mstefani@winehq.org --- Removing the 6.0.x milestone from bug fixes included in 6.0.4.