[Bug 50905] Wine fails to execute binaries if a dependent placeholder DLL in C:\windows\system32 is missing

WineHQ Bugzilla wine-bugs at winehq.org
Fri Apr 9 05:15:34 CDT 2021


https://bugs.winehq.org/show_bug.cgi?id=50905

--- Comment #10 from Gijs Vermeulen <gijsvrm at gmail.com> ---
(In reply to Dmitry Timoshkov from comment #7)
> Probably I should also note, that this commit breaks for instance
> 'winetricks vcrun2015' because winetricks removes
> c:\windows\system32\ucrtbase.dll before running the installer, which also
> completely obliterates the whole Wine prefix, leading to inability to run
> anything from it. The only "cure" is to remove ntdll.dll pretending that the
> prefix is "new", however after that the prefix won't update itself, and
> ntdll.dll is not gets re-created.

Just as an aside, I worked around this by manually extracting ucrtbase from the
installer instead of removing it. [1]

[1]
https://github.com/Winetricks/winetricks/commit/9cf961c468676bfb58408dd63544c8ca23a4bcd1

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list