https://bugs.winehq.org/show_bug.cgi?id=50995
Bug ID: 50995 Summary: Regression: SimSig installer doesn't run, builtin dlls not found Product: Wine Version: 6.6 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: zzhang@codeweavers.com Distribution: ---
Download SimSig from the official download link https://www.simsig.co.uk/File/Download/852
master:wine/win32-build$ sha256sum ~/Downloads/SimSigInstaller.exe 2e25ba45ef4e042d0152ad943854220adcbbe62a155d05f4c52a032daf94c183 /home/eric/Downloads/SimSigInstaller.exe
master:wine/win32-build$ wine ~/Downloads/SimSigInstaller.exe 00ec:err:module:import_dll Library version.dll (which is needed by L"C:\windows\system32\setupapi.dll") not found 00ec:err:module:import_dll Library setupapi.dll (which is needed by L"C:\windows\system32\user32.dll") not found 00ec:err:module:import_dll Library version.dll (which is needed by L"C:\windows\system32\user32.dll") not found 00ec:err:module:import_dll Library user32.dll (which is needed by L"C:\windows\system32\imm32.dll") not found 00ec:err:module:import_dll Library imm32.dll (which is needed by L"C:\windows\winsxs\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.2600.2982_none_deadbeef\comctl32.dll") not found 00ec:err:module:import_dll Library version.dll (which is needed by L"C:\windows\system32\setupapi.dll") not found 00ec:err:module:import_dll Library setupapi.dll (which is needed by L"C:\windows\system32\user32.dll") not found 00ec:err:module:import_dll Library version.dll (which is needed by L"C:\windows\system32\user32.dll") not found 00ec:err:module:import_dll Library user32.dll (which is needed by L"C:\windows\winsxs\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.2600.2982_none_deadbeef\comctl32.dll") not found 00ec:err:module:import_dll Library comctl32.dll (which is needed by L"Z:\home\eric\Downloads\SimSigInstaller.exe") not found 00ec:err:module:import_dll Library version.dll (which is needed by L"Z:\home\eric\Downloads\SimSigInstaller.exe") not found 00ec:err:module:import_dll Library version.dll (which is needed by L"C:\windows\system32\setupapi.dll") not found 00ec:err:module:import_dll Library setupapi.dll (which is needed by L"C:\windows\system32\user32.dll") not found 00ec:err:module:import_dll Library version.dll (which is needed by L"C:\windows\system32\user32.dll") not found 00ec:err:module:import_dll Library user32.dll (which is needed by L"Z:\home\eric\Downloads\SimSigInstaller.exe") not found 00ec:err:module:import_dll Library version.dll (which is needed by L"C:\windows\system32\setupapi.dll") not found 00ec:err:module:import_dll Library setupapi.dll (which is needed by L"C:\windows\system32\user32.dll") not found 00ec:err:module:import_dll Library version.dll (which is needed by L"C:\windows\system32\user32.dll") not found 00ec:err:module:import_dll Library user32.dll (which is needed by L"C:\windows\system32\combase.dll") not found 00ec:err:module:import_dll Library combase.dll (which is needed by L"C:\windows\system32\ole32.dll") not found 00ec:err:module:import_dll Library version.dll (which is needed by L"C:\windows\system32\setupapi.dll") not found 00ec:err:module:import_dll Library setupapi.dll (which is needed by L"C:\windows\system32\user32.dll") not found 00ec:err:module:import_dll Library version.dll (which is needed by L"C:\windows\system32\user32.dll") not found 00ec:err:module:import_dll Library user32.dll (which is needed by L"C:\windows\system32\ole32.dll") not found 00ec:err:module:import_dll Library ole32.dll (which is needed by L"C:\windows\system32\oleaut32.dll") not found 00ec:err:module:import_dll Library version.dll (which is needed by L"C:\windows\system32\setupapi.dll") not found 00ec:err:module:import_dll Library setupapi.dll (which is needed by L"C:\windows\system32\user32.dll") not found 00ec:err:module:import_dll Library version.dll (which is needed by L"C:\windows\system32\user32.dll") not found 00ec:err:module:import_dll Library user32.dll (which is needed by L"C:\windows\system32\oleaut32.dll") not found 00ec:err:module:import_dll Library oleaut32.dll (which is needed by L"Z:\home\eric\Downloads\SimSigInstaller.exe") not found 00ec:err:module:import_dll Library netapi32.dll (which is needed by L"Z:\home\eric\Downloads\SimSigInstaller.exe") not found 00ec:err:module:LdrInitializeThunk Importing dlls for L"Z:\home\eric\Downloads\SimSigInstaller.exe" failed, status c0000135
Wine is built with "../configure -C CFLAGS="-g -Og" CROSSCFLAGS="-g -Og" --disable-tests --enable-silent-rules && make"
Bisect points to bb065801a693e1cd305d2a507c206f1b21a142d3 is the first bad commit commit bb065801a693e1cd305d2a507c206f1b21a142d3 Author: Alexandre Julliard julliard@winehq.org Date: Tue Mar 30 10:12:07 2021 +0200
ntdll: Map the builtin or fake dll from the Wine dirs if it's missing from the prefix.
Signed-off-by: Alexandre Julliard julliard@winehq.org
dlls/kernel32/tests/module.c | 4 +- dlls/mscoree/tests/mscoree.c | 4 +- dlls/ntdll/loader.c | 141 ++++++++++++++++++++++++++----------------- 3 files changed, 88 insertions(+), 61 deletions(-)