Wine 1.5 %ProgramFiles% error

Posted by elclanrs on Ask Ubuntu See other posts from Ask Ubuntu or by elclanrs
Published on 2012-11-28T09:47:47Z Indexed on 2012/11/28 11:17 UTC
Read the original article Hit count: 374

Filed under:
|
|

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?

© Ask Ubuntu or respective owner

Related posts about 12.10

Related posts about wine