Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Major upgrade and full install in 1 setup


1 reply to this topic

Mierik

Mierik
  • Full Members
  • 2 posts

Posted 22 February 2007 - 10:47

Hi,

How can I do the following...

I need 1 setup file that includes a full install and a major upgrade. This means when a user has already installed version 1 and runs the setup for version 2, he has to choose whether to upgrade to version 2 OR to install version 2 beside version 1 (in a different folder of course).

Until now I have a:
- Basic MSI project (InstallShield 11.5)
- different GUIDs for package and product
- different product version
- authored a major upgrade
- Inserted the 'Select Destination Folder' window
- left everything else unchanged

Installing version 1 and afterwards running the setup for version 2 always uninstalls version 1. (with or without changing the destination folder)
This is correct but I also want to have the option to install version 2 beside version 1 without touching version 1.

Thanks in advance for any help,
Erik.


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 23 February 2007 - 14:44

I haven't tried this but maybe you could add a condition to the RemoveExistingProducts action that uses a property the user set on the selection dialog, e.g.
Not INSTALLSIDEBYSIDE
or
DOMAJORUPGRADE