This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Option to upgrade or install side-by-side
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 26, 2007
01:17 PM
Option to upgrade or install side-by-side
I'm working on a new version of an application, which would be a major upgrade to the existing installation, with a new product code for the new version. I'd like to let the user choose at runtime whether to upgrade the existing installation in place or to install the new version side-by-side, in a different location. Is this possible? It's a Basic MSI project.
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 27, 2007
08:21 PM
What you want to consider is multiple instance MSI's and a bootstrapper that can let a chooser decide between installing a new instance and upgrading an existing instance similar to the way InstallScript projects work.
I made this work and I talk about it here:
http://blog.deploymentengineering.com/2006/10/multiple-instance-msis-and.html
I made this work and I talk about it here:
http://blog.deploymentengineering.com/2006/10/multiple-instance-msis-and.html
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 30, 2007
04:38 PM
Thanks for the suggestion--I'll look into your approach. However, my scenario is simpler than yours, since I don't need multiple instances of the same version installed. I'm wondering if it would work if I set the upgrade properties in InstallShield to detect the prior version without automatically updating, then prompt from the UI sequence and take the appropriate action. Isn't there a property that the bootstrapper passes to tell the installer to do the upgrade instead of a parallel installation?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 30, 2007
04:54 PM
Well perhaps you could enforce a different destination directory and then conditionalize RemoveExistingProducts to leave the orginally installed product alone.
I get around this because each instance automatically defaults to a different destination directory and they all belong to different upgradecode families since only a newer version targeting the same instance would be a major upgrade.
This gives me a lot of flexibility in installing instances/versions not previously thought of until someone needed to do it.
I get around this because each instance automatically defaults to a different destination directory and they all belong to different upgradecode families since only a newer version targeting the same instance would be a major upgrade.
This gives me a lot of flexibility in installing instances/versions not previously thought of until someone needed to do it.