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: Major Upgrade help please
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
Jan 12, 2009
07:46 AM
Major Upgrade help please
We are doing a Major Upgrade. When the Major Upgrade occurs, it runs the currently installed .msi to uninstall it, then runs the new version to install it.
PROBLEM: We have a custom action that runs when we remove our software. The problem is, when a Major Upgrade occurs, it is running when the original .msi runs. Since we are upgrading our software, we don't want it to run. Only when we are truly uninstalling our software for good.
The condition on this custom action should be something like:
REMOVE="ALL" and (NOT Upgrading)
I can't seem to find a way to do the (NOT Upgrading)
Thanks in advance for all your responses.
BTW, InstallScript MSI project in IS2009. Thanks
PROBLEM: We have a custom action that runs when we remove our software. The problem is, when a Major Upgrade occurs, it is running when the original .msi runs. Since we are upgrading our software, we don't want it to run. Only when we are truly uninstalling our software for good.
The condition on this custom action should be something like:
REMOVE="ALL" and (NOT Upgrading)
I can't seem to find a way to do the (NOT Upgrading)
Thanks in advance for all your responses.
BTW, InstallScript MSI project in IS2009. Thanks
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jan 12, 2009
02:27 PM
An action in the newer version can use the "action property" from the Upgrade table (by default something like ISACTIONPROP1) as a condition to detect (after FindRelatedProducts) if a major upgrade is taking place.
The older version needs a condition involving UPGRADINGPRODUCTCODE to detect if it's being removed as part of a major upgrade.
The older version needs a condition involving UPGRADINGPRODUCTCODE to detect if it's being removed as part of a major upgrade.