Warning: To use multiple wine, you must remove wine from ordinary installation. So, just install any version of wine you want using this installer.
UPDATE:
- Bug fix: Enable wineprefixcreate for older wine ( 24/11/08 )
- Ensure installing deb package to empty directory ( 1/11/08 )
- Added installation using deb package ( 31/10/08 )
- Workaround to solve Preloader: Warning: failed to reserve range 00000000-60000000 for older wines ( 13/10/08 )
- Remove valgrind and libldap2-dev if older wines fail to compile. ( 13/10/08 )
- Previous installer might not work smoothly as I attached the wrong one (work in progress). I have revised to the new one, now completely GUI. You do not need to run in terminal any more, just run it because I have added progress bar GUI for all long processes. ( 11/10/08 )
================================================== =====================================
The bad news, sometimes certain application could run on certain wine version, but could not run on later wine version. Problem start occur if a few application that you want to run needed different wine versions.
Off course you could run regression test and report to wine developer, but in the mean time you have to upgrade/downgrade wine to suit applications you want to run.
Sometimes you are not sure which wine version is suitable for your application, but to try many versions of wine require you to downgrade and upgrade continuously.
The good news is:
Update:
If you want to use downloaded deb package, you do not need to run sudo apt-get build-dep wine. Just make sure you have lzma installed:
Code:
sudo apt-get install lzma
It is much faster then compiling from source and require much lesser disc space.
For system other than gnome, you might not have zenity which is use in this script. As such, you will need to install zenity:
Code:
sudo apt-get install zenity
I just finished making a script to install multiple wine at the same time, and all are installed in your home directory so that it will not mess up your system files
You could install as many wine version as you want with this installer. I have tried it with wine 1.0, 1.1.0 - 1.1.5, all installed at the same time and what you have to do is just to click and click, no command line needed.
This installer also could install older wine versions, and also future wine version by selecting "wine-other" option, I have tried to install wine-0.9.59 using this option and it went well.
What you have to do is:
1. sudo apt-get build-dep wine (you could skip this step if you want to install using deb packages only)
2. - download the installer attached,
- extract it, and then
- double click the extracted file to run,
- Choose "Run" (you could "Run in terminal" but not necessary)
If you compile from source, it could take a few hours, depending on how fast your computer is and how many wine versions you choose to install. But if you choose to install from downloaded deb package, it just took a few seconds or minutes.
The installer will do below actions:
1. Downloading wine source codes according to your selection.
2. Extracting, compiling and installing with a minor tweak to suit "multiple wine" situation.
3. It comes with uninstaller, in case you want to uninstall it.
USAGE
I have many wine versions now in my computer, but how do I use them? Here is the answer.
There are two ways to use it:
1. Without changing system file,
2. Make a link in system file (a little bit more dangerous but much more convenient to use).
1. Without changing system file
1.1 Adding "open with" and changing default wine
Right click on any exe file and choose:
Properties> Open with > Add > Use a custom command > Browse > navigate to $home/wine-X.X.X (that you have installed) > bin > wine-X.X.X and click "open" button. > click "Add" button.
Repeat the above process until all wine version appear in the "open with" tab.
And to choose the default wine when you double click exe file, select the radio button there as you wish.
1.2. Changing launcher
For application launcher, you have to substitute wine in the "command" entry to "$home/wine-x.x.x/bin/wine-xxx"
Using this method, you have to give full path to launch wine-x.x.x in terminal (i.e. $home/wine-x.x.x/bin/wine-xxx yourprogram.exe)
2. Make a link in system file (a little bit more dangerous but much more convenient to use)
First, you have to make a link in your /usr/bin directory:
Open terminal and:
Next, make a link:
Code:
sudo ln -s '$home/wine-X.X.X/bin/wine-X.X.X'
and key in your password as requested.
1.1 Adding "open with" and changing default wine
Right click on any exe file and choose:
Code:
Properties> Open with > Add > wine-x.x.x > click "Add" button.
Yes, now it available in the application selection. Repeat the above process until all wine versions appear in the "open with" tab.
And to choose the default wine when you double click exe file, select the radio button there as you wish.
1.2. Changing launcher
For application launcher, you have to substitute wine in the "command" entry to wine-x.x.x
Using this method, you could also launch wine-x.x.x from terminal (i.e. wine-x.x.x yourprogram.exe)
If later on you decide to remove certain wine version, you should remove this link as well. To remove it:
Next, remove the un-needed link:
Troubleshooting
1. Older wines fail to compile.
If you want to install old wines and it fail to compile, remove 2 packages:
Code:
sudo apt-get remove valgrind libldap2-dev
and then run the installer again.
2. Preloader: Warning: failed to reserve range 00000000-60000000
http://wiki.winehq.org/PreloaderPageZeroProblem
Please let me know if you have any questions.
DK
PS: Please do not confuse multiple wine with wineprefix. With this installer you could have multiple wine versions and multiple wineprefix.
Bookmarks