- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Custom Action to execute during Upgrade but not during Maintenance (Modify or Repair)
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
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..
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
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
Thanks Shunt.. It helped me..