http://bugs.winehq.org/show_bug.cgi?id=22766
--- Comment #1 from Stefan Dösinger stefandoesinger@gmx.at 2010-05-19 06:27:33 --- Sorry, I was wrong about a detail: This doesn't happen with the old DX7 SDK, but with modern DirectX redistributable installers. This installer is still a 32 bit application, but it is aware of 64 bit Systems and installs 64 bit DLLs into system32 and 32 bit ones into syswow64(This works just fine on Wine).
Here is what happens on the next boot: /home/stefan/build/wine/wine winecfg wine: cannot find L"C:\windows\system32\dxdllreg.exe"
The registry keys mentioning dxdllreg.exe are [Software\Wow6432Node\Microsoft\DirectX] 1274268191 @="" "Debug"="0" "DXDllRegExe"="C:\windows\system32\dxdllreg.exe " "InstalledVersion"=hex:00,00,00,09,00,00,00,00 "RC"="0" "Version"="4.09.00.0904"
[System\CurrentControlSet\Services\dxregsvc] 1274268187 "DisplayName"="DirectX DLL register" "ErrorControl"=dword:00000000 "ImagePath"="C:\windows\system32\dxdllreg.exe -SERVICE" "ObjectName"="LocalSystem" "Start"=dword:00000002 "Type"=dword:00000010
(Sounds like a service rather than a classic autorun app)