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

Custom Action to execute during Upgrade but not during Maintenance (Modify or Repair)

Jump to solution

I have an function that was configured with Custom Action of Basic InstallShield project. This Custom Action should execute during upgrade and not during Maintenance (Modify or Repair). How can I do this in InstallShield Basic MSI project. Any solution if fine for me..

0 Kudos
(1) Solution
shunt
Revenera Moderator Revenera Moderator
Revenera Moderator

For a Minor Upgrade using a setup.exe use:
IS_MINOR_UPGRADE

For a Minor Upgrade using a command line use:
REINSTALL~="ALL" AND REINSTALLMODE><"v"

For a Major Upgrade use:
IS_MAJOR_UPGRADE


For reference there is a great common MSI condition sheet available here:
https://resources.flexera.com/web/pdf/archive/is-chs-common-msi-conditions.pdf

View solution in original post

0 Kudos

(2) Replies
shunt
Revenera Moderator Revenera Moderator
Revenera Moderator

For a Minor Upgrade using a setup.exe use:
IS_MINOR_UPGRADE

For a Minor Upgrade using a command line use:
REINSTALL~="ALL" AND REINSTALLMODE><"v"

For a Major Upgrade use:
IS_MAJOR_UPGRADE


For reference there is a great common MSI condition sheet available here:
https://resources.flexera.com/web/pdf/archive/is-chs-common-msi-conditions.pdf

0 Kudos

Thanks Shunt.. It helped me..

0 Kudos