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

Uninstall and CA's


1 reply to this topic

Chelley

Chelley
  • Members
  • 43 posts

Posted 18 May 2005 - 14:29

Hi All

I have a BasicInstallshield project where I run a custom action at the very end. However, I only want this to run on Install and not Uninstall.

How do I prevent it from running on Uninstall???

I currently have it after the InstallFinalize in the Execute sequence. It would be run in silent mode for both install and uninstall.

Michelle

P.S. Sorry I posted this in upgrades and patches too by mistake

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 18 May 2005 - 17:28

Use a proper condition.
If you only want to run the custom action during first time install:
Not Installed
If you want to run it always (inlcuding repair, modify and update) except during uninstall:
Not (REMOVE~="ALL")