https://bugs.winehq.org/show_bug.cgi?id=47912
Bug ID: 47912 Summary: Rockstar Games Launcher installer crashes after disabling WoW64 redirection Product: Wine Version: 4.17 Hardware: x86 URL: https://gamedownloads.rockstargames.com/public/install er/Rockstar-Games-Launcher.exe OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: bshanks@codeweavers.com Distribution: ---
The installer (32-bit) for Rockstar Games Launcher v1.0.6.132 (released on 10/7/2019) is now using an NSIS plugin called LockedList (https://nsis.sourceforge.io/LockedList_plug-in). While enumerating system processes, the plugin disables WoW64 filesystem redirection using Wow64DisableWow64FsRedirection(), but never re-enables redirection. The installer later tries to load nsDialogs.dll but fails because the loader is unable to find a comdlg32.dll of the correct architecture, and the installer crashes.
This Wine commit tightened up the loader behavior, if I revert it the installer works normally: commit 9839bb7691a1b1c57a4ca501d03825420c1609d7 Author: Alexandre Julliard julliard@winehq.org Date: Sat Feb 9 21:21:47 2019 +0100
ntdll: Skip dlls of the wrong machine type when searching through the load path.
Signed-off-by: Alexandre Julliard julliard@winehq.org
After running some tests, this behavior seems to have changed between Win Vista/2008 and Win 7/2008R2. Vista/2008 work like current Wine, where loading system libraries will fail with redirection disabled. With Win7 through to the latest Win10, loading system libraries works fine even with redirection disabled. Not sure why this change was made (probably for broken applications), but it's been noticed by others: https://stackoverflow.com/questions/17408897/different-behaviour-of-filesystem-redirector-on-win2003r2-x64-and-win7-x64
I'm submitting tests upstream for this, not sure if there's any fix other than just reverting the above commit.
Bugs 46916 and 46995 are for very similar issues in other installers.