[Wine] Re: Create a New .wine Directory
billstei
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:
winecfg
mv .wine .wine-mycoolprogram
ln -s .wine-mycoolprogram .wine
wine mycoolprograminstaller.exe
rm .wine
winecfg
mv .wine .wine-someotherproggie
ln -s .wine-someotherproggie .wine
wine someotherinstaller.exe
rm .wine
winecfg
mv .wine .wine-default
ln -s .wine-default .wine
wine wellbahavedprograminstaller.exe
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:
#!/bin/bash
rm /home/bill/.wine
ln -s .wine-$1 .wine
Then I can say something like this:
setwine default
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.
Bill
More information about the wine-users
mailing list