cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Kelly_NPI
Level 3

Please help!! How to not execute custom actions during upgrade

I have defined some custom action. Ex. custom action = call a bat file. If user is upgrading the software, I don't want this action to run. How do I set it?
The "NOT Installed" option is used to make sure it only runs on initial installation only. But if someone were to upgrade... I won't know what else needs to be set. What is recommended? Please advise...

Thanks!!
Kelly
Labels (1)
0 Kudos
(3) Replies
Not applicable

Try to use ‘Detect Property”. This property is defined under ‘Advanced tab’ of major upgrade.
0 Kudos
Kelly_NPI
Level 3

Thanks for your reply lambertpandian. I try to look for the Detect Property but couldn't find it. I have InstallShield 2008 Professional Edition.

Well, I think I got it to not run the custom actions during upgrade. I just added the "NOT Installed" (seems to be working now).

Thanks!!

Kelly
0 Kudos
Kelter
Level 10

during a major upgrade, "Installed" will not be set. during a minor upgrade, it will. To detect upgrades, use the [IS_MAJOR_UPGRADE] and [IS_MINOR_UPGRADE] properties.
0 Kudos