Installing multiple versions - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

mhubel
Posts: 28
Joined: Fri Jul 20, 2007 2:01 pm
Contact: Website

Installing multiple versions

We would like to be able to install multiple versions on the same system. Our program does not do anything in the registry (other than what the installer itself does) or leave any files in a system area. Each version would be in its own directory and it is understood that some program icons might point to the wrong place.
The problem is that once a newer version is installed, any attempt to install an older version results in the message "A more recent versions of XXXXX is already installed on this computer". Then the installer exits. Going in the other direction always causes the older version to be removed first. How does one convince Windows the newer version is not there?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Installing multiple versions

Hi,

I'm afraid that this is not supported by Windows Installer. The only solutions are these:

1) Use the "Do not register this product with Windows Installer" option in the Product Details page. This way the product is not registered with Windows Installer and it can be installed as many time as you need. However, note that this type of product cannot be uninstalled. In this case it is recommended to create an EXE file which searches and removes all the resources created by the installation. This EXE can be used as an uninstaller for the package.

2) Use the approach discussed in these threads:
http://www.advancedinstaller.com/forums ... f=2&t=7394
http://www.advancedinstaller.com/forums ... f=2&t=5227

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mhubel
Posts: 28
Joined: Fri Jul 20, 2007 2:01 pm
Contact: Website

Re: Installing multiple versions

I believe your suggestion would work but I was searching through the program and found an option at "project settings->upgrades->Allow side by side installs of different versions"

It would appear that this does exactly what is desired. It lets windows put in separate uninstall entries in the "add/remove programs" list. I missed it in previous searches of the program. Unless there is some reason not to use this method, it sounds like the way to go.
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Re: Installing multiple versions

Hi,
Unless there is some reason not to use this method, it sounds like the way to go.
Yes, to install multiple versions of the same product you can use "Allow side by side installs of different versions" option in "Upgrades" page. But you need to make sure you install each version to a different folder. If you select the folder of an older version then an upgrade is performed. You can read more about upgrades here:
http://www.advancedinstaller.com/user-g ... rades.html

Kind Regards,
Gigi
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”