cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
yamakamyar
Level 6

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
Labels (1)
0 Kudos
(1) Reply
RobertDickau
Flexera Alumni

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.
0 Kudos