deepakdp
Flexera beginner

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

Accepted Solutions
shunt
Revenera Moderator Revenera Moderator
Revenera Moderator

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

Jump to solution

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

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

Jump to solution

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
deepakdp
Flexera beginner

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

Jump to solution

Thanks Shunt.. It helped me..

0 Kudos