[Bug 52542] New: NVIDIA GeForceNow Installer fails due to rundll32 problems
WineHQ Bugzilla
wine-bugs at winehq.org
Sat Feb 12 16:25:10 CST 2022
https://bugs.winehq.org/show_bug.cgi?id=52542
Bug ID: 52542
Summary: NVIDIA GeForceNow Installer fails due to rundll32
problems
Product: Wine
Version: 7.1
Hardware: x86-64
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs at winehq.org
Reporter: dark.shadow4 at web.de
Distribution: ---
Created attachment 71855
--> https://bugs.winehq.org/attachment.cgi?id=71855
Hack
Mostly for bookkeeping, I have it on my ToDo somewhere, although feel free to
take it. But please mention when you want to work on this.
The installer tries to use rundll32 to let a dll generate the config. The exact
commandline is
> trace:rundll32:wWinMain CmdLine=L"C:\\users\\fabian\\Temp\\GeForceNOWInstallerTemp\\GeforceNOW\\NvConfigGenerator.dll ,GenerateConfigs
Notice the space before the comma, that's what causes the problem. Wine doesn't
handle that properly.
Attaching a hack to work around the issue.
Warning:
It seems like you need to set that byte to 0 (see patch). Just skipping the
space lets it find the function, but it won't work due to being passed
unexpected parameters!
Also be aware, that the installer also tries to call system32/rundll32.exe
which is 64bit with a 32bit dll. So to test this, you need to take that into
account, else rundll32 will fail to load the dll, nevermind load the entry
point.
--
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