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

Upgrade: detect then cancel installation


1 reply to this topic

tuckercr

tuckercr
  • Members
  • 1 posts

Posted 24 February 2005 - 17:06

I am looking to upgrade a project created with a previous version of InstallShield. When I do a major upgrade using the normal IDE method I lose the entry in Add/Remove Programs. Therefore I am prepared to cut my losses, what I want to do is to detect previous versions and simply halt the installation telling the user to uninstall manually first.

However I can't figure out when to do this. I have put code in AppSearch, OnBegin,OnCCPSearch etc but I still see the dialog box "a previous version was detected, do you wish to upgrade"... how/where can I insert my InstallScript code before this point?

Thanks in advance,
Colin

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 25 February 2005 - 20:54

I belive you can turn off this message in the Relese > Upgrades settings.
It should also go away if you change the ProductCode which will result in a Major Upgrade.