This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Thanks!!!
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 11, 2009
08:13 PM
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
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
(3) Replies
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 14, 2009
12:41 AM
Try to use ‘Detect Property”. This property is defined under ‘Advanced tab’ of major upgrade.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 14, 2009
09:33 AM
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
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
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 16, 2009
12:04 PM
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.
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)