[Wine] Re: Create a New .wine Directory
wineforum-user at winehq.org
Fri Feb 29 15:27:10 CST 2008
I have lots of .wine's Here is a typical scenario for me:
mv .wine .wine-mycoolprogram
ln -s .wine-mycoolprogram .wine
mv .wine .wine-someotherproggie
ln -s .wine-someotherproggie .wine
mv .wine .wine-default
ln -s .wine-default .wine
env WINEPREFIX="/home/bill/.wine-mycoolprogram" wine "C:\Program Files\CoolCompany\Cool.exe"
env WINEPREFIX="/home/bill/.wine-someotherproggie" wine "C:\Program Files\SomeCo\SomeOther.exe"
env WINEPREFIX="/home/bill/.wine-default" wine "C:\Program Files\NoBugsInc\WellBehaved.exe"
You can also make desktop launchers from the last three example command lines, as well as similar calls to each different winecfg. I also have a chell script called "setwine" that looks like this to set the symbolic link as needed:
ln -s .wine-$1 .wine
Then I can say something like this:
and .wine will now point to .wine-default
As you can imagine, I never have a "real" .wine unless it's temporary. There may be other ways to handle multiple wine bottles, including different local wine version runtimes, but I will leave that for others to describe. Have fun.
More information about the wine-users