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
- :
- Re: IS_MAJOR_UPGRADE and IS_MINOR_UPGRADE
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
Mar 29, 2009
11:08 PM
IS_MAJOR_UPGRADE and IS_MINOR_UPGRADE
In IS2009 how are IS_MAJOR_UPGRADE and IS_MINOR_UPGRADE set?
In my custom action I would like to execute an installscript function only when:
It is a major upgrade
It is a minor upgrade
I just can find documentation on the different methods for performing different scenarios for executing custom actions, screens, controls, and other tasks.
Different scenarios I can think of:
Patching
Minor Upgrade
Major Upgrade
Installed
Uninstalling
Reinstalling
I would truly appreciate if someone can point me to the right documentation.
Thanks,
Yama
In my custom action I would like to execute an installscript function only when:
It is a major upgrade
It is a minor upgrade
I just can find documentation on the different methods for performing different scenarios for executing custom actions, screens, controls, and other tasks.
Different scenarios I can think of:
Patching
Minor Upgrade
Major Upgrade
Installed
Uninstalling
Reinstalling
I would truly appreciate if someone can point me to the right documentation.
Thanks,
Yama
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 30, 2009
09:06 AM
To detect a major upgrade, use the action property in the major-upgrade item (or Upgrade table), by default ISACTIONPROP1; for a minor upgrade, use the same condition as SetupResume.