I'm trying to install d3dx9 with winetricks on wine 1.5 from ppa and I keep getting an error. I tried:
WINEARCH=win32 WINEPREFIX=~/.win32 winecfg
sudo WINEARCH=win32 WINEPREFIX=~/.win32 winetricks
And still get this error:
wine cmd.exe /c echo '%ProgramFiles%' returned empty string
If I type wine cmd.exe /c echo '%ProgramFiles%'
into the terminal I get C:Program Files
so the path seems correct but not when I run winetricks.
I also tried this regedit fix with no luck.
Any ideas?