I have a copy of WINE installed on a Debian Server. And I have now set up my first application.
The .exe is in /home/user/appDir/appName.exe
I have set up a .desktop file containing:
Exec=env WINEPREFIX="/home/user/.wine" wine /home/user/appDir/appName.exe
This all works fine.
I now need a second copy of my application, so I will need a new WINEPREFIX.
Should I create the prefix as /home/user/.wine2, and put the second copy of the application as /home/user/appDir2/appName.exe ?
I'm just wondering because I notice that Firefox is also installed and seems to have it's own WINEPREFIX in home/user/.local/share/wineprefixes/firefox
And all the files are then installed under /home/user/.local/share/wineprefixes/firefox/dosdevices/c:/Program Files/Mozilla Firefox
Is either of these considered right / wrong? will one or the other come back to bite me later on (bearing in mind I may have 4 / 5 copies of my application to set up.
What is the correct location to create a new WINEPREFIX?
Re: What is the correct location to create a new WINEPREFIX?
That may work in this case, but when using a unix-style path the command should really beExec=env WINEPREFIX="/home/user/.wine" wine /home/user/appDir/appName.exe
Code: Select all
wine start /unix /path/to/exe
You don't really need a second copy of the app. Just specify WINEPREFIX=/home/user/.wine2 and run the executable in /home/user/appDir.Should I create the prefix as /home/user/.wine2, and put the second copy of the application as /home/user/appDir2/appName.exe ?
That's where winetricks puts the apps it installs, unless you specify --no-isolate.I'm just wondering because I notice that Firefox is also installed and seems to have it's own WINEPREFIX in home/user/.local/share/wineprefixes/firefox