http://bugs.winehq.org/show_bug.cgi?id=22766
Summary: Hardcoded "C:\windows\system32" paths autorun paths fail in a syswow64 build Product: Wine Version: 1.1.44 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: stefandoesinger@gmx.at
The DirectX 7 SDK puts a file "dxdllreg.exe" into C:\windows\system32 and creates a registry key to run it on the next boot. On a pure 32 bit Wine this works OK, in a syswow64 build wineboot complains that the file cannot be found. It seems that the following happens:
1) The installer places the file in system32\dxdllreg.exe. Since it is a 32 bit app this is redirected to syswow64/dxdllreg.exe
2) The installer writes "C:\windows\system32\dxdllreg.exe" into the registry
3) Wineboot runs, reads the string from the registry. However, wineboot is a 64 bit app, so it tries to find the file in system32\dxdllreg.exe
Running the 32 bit wineboot manually correctly executes the application.