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

Don't want setup.exe to uninstall/reinstall


3 replies to this topic

PeterBoucher

PeterBoucher
  • Members
  • 17 posts

Posted 31 May 2006 - 20:10

Is there a way to get setup.exe to just exit if the same version of the product is already installed?

If you run
setup.exe /s /v"/quiet"
twice, it tries to just install over the top the second time, which breaks our running product.

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 01 June 2006 - 23:23

This would also prevent uninstall. Also such a re-install can happen automatically (repair). So your setup should be written in a way that doesn't break the application if it's executed a second time. Why does it break your app?

PeterBoucher

PeterBoucher
  • Members
  • 17 posts

Posted 13 June 2006 - 17:14

In the IDE you can set upgrades to Disable, Prompt, or Just upgrade without prompting.

What I want is a way to control what setup.exe does when you run the exact same version a 2nd time.

Should I use an appsearch or is there an easier way?

Thanks,
Peter

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 13 June 2006 - 22:08

You could insert a custom action (e.g. type 19) with an appropriate condition, e.g. Installed and Remove~<>"ALL"