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

Updated ProductCode needed for MajorUpdate?


1 reply to this topic

fredrik.strom

fredrik.strom
  • Full Members
  • 39 posts

Posted 01 February 2006 - 10:14

Hi,

If i want to make one single installation project that works as a first time install and an update if the product already exist i have figured out that a Major Update could be a nice compromiss. Do i have to generate a new ProductCode for each new product version if i want the automatic uninstall to work?
I have tried not to change the ProductCode and always get the "use add/remove programs to remove the old product before continuing" message.
And it does work when i update the ProductCode.


Regards Fredrik

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 01 February 2006 - 10:46

If you want to make Major Upgrades you must change the productCode each time.
If you want to amke Minor Updates you don't need to do this. But then you should use a setup.exe launcher because a minor update requires setting some command line parameters. InstallShield's setup.exe does this automatically for you (you can select this in the Update settings view)