https://bugs.winehq.org/show_bug.cgi?id=55746
Bug ID: 55746 Summary: wscript.exe:run - Dispatch_Invoke() gets wrong WScript.FullName in Wine Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: wscript Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com Distribution: ---
wscript.exe:run - Dispatch_Invoke() gets wrong WScript.FullName in Wine:
Pure 32-bit and 64-bit: run.c:172: Test failed: test.JS: L"WScript.FullName = C:\windows\system32\wscript.exe"
32-bit in WoW configurations: run.c:172: Test failed: test.JS: L"WScript.FullName = C:\windows\syswow64\wscript.exe" run.c:172: Test failed: test.JS: L"WScript.Path = C:\windows\syswow64"
See https://test.winehq.org/data/patterns.html#wscript.exe:run
A bisect shows that this started with the commit below:
commit de81e2ea41b27a14f88177639c5b5d35a210b5bd Author: Alexandre Julliard julliard@winehq.org Date: Fri Oct 6 15:08:02 2023 +0200
ntdll: Only create the main module on the 32-bit side for wow64.
This means this most likely has the same fix as bug 55744.