https://bugs.winehq.org/show_bug.cgi?id=41713
Bug ID: 41713 Summary: Explorer.exe is wrong when started from the process creating the Wine prefix Product: Wine Version: 1.9.8 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com Distribution: ---
To reproduce this do the following:
rm -rf ~/.wine cd dlls/shell32/tests rm shelldispatch.ok make shelldispatch.ok
This normally results in the following failure:
shelldispatch.c:624: Test failed: got 0x80040152
Which corresponds to the following line: ok(hr == S_OK, "got 0x%08x\n", hr); /* TODO: remove when explorer startup with clean prefix is fixed */ if (hr != S_OK) return;
The workaround is to ensure the Wine prefix has been created before running the test:
rm -rf ~/.wine ./wine hostname ./server/wineserver -w cd dlls/shell32/tests rm shelldispatch.ok make shelldispatch.ok
Note that wt-daily is now implementing this workaround (see https://github.com/fgouget/wt-daily).