I use Xubuntu 12.04 and I installed Wine 1.4. I am now trying to install the .NET 4.0 Framework using Winetricks. I use this command
sudo sh winetricks dotnet40
But I get this error
wine cmd.exe / c echo '% ProgramFiles%' returned empty string
I get this error when I try to install other programs as well. I have managed to install .NET Framework 4.0. previously, but now I can not get this install to go smoothly. How can I resolve this error?
Best Answer
Try this:
To install using gui, you can try
winetricks --gui
, than choose install app, than cancel and in new window, choose install windows part or library. There are dot net dependencies.To show installed things, you can
winetricks list-installed
.