http://bugs.winehq.org/show_bug.cgi?id=17194
--- Comment #7 from Robert Millan rmh@aybabtu.com 2009-02-02 14:01:01 --- (In reply to comment #1)
There is a bug in this installer which prevents it from correctly installing the DLLs included.
I see that the install script deletes $SYSDIR\dllcache\d3d{8,9}.dll to stop Windows File Protection from overwriting the new DLLs. However, the dllcache DLLs are deleted _after_ the new DLLs are installed in $SYSDIR.
The dllcache DLLs should be deleted _first_ before overwriting the main DLLs.
When I ran the installer on a fresh XP system, it failed to install the WineD3D DLLs over the top of the Microsoft ones -- I had to delete them from dllcache manually first.
Actually, this doesn't always work either. It seems there's a race between NSIS deleting/overwriting the second file (no matter which it is) and Windows File Protection restoring the first one.
It seems the only safe bet is to reboot in safe mode before running the installer.