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: Registry Component Condition on Upgrade
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
May 20, 2015
10:05 AM
Registry Component Condition on Upgrade
I have a component for a Basic MSI project. It has a condition:
UPGRADINGPRODUCTCODE<>"" AND REMOVE=""
I want the component to install whenever an older version of the product is being uninstalled with the newer MSI executing it.
From the MSI logs, it looks like this condition is being evaluated before the RemoveExistingProducts action.
Is there any work around for this?
UPGRADINGPRODUCTCODE<>"" AND REMOVE=""
I want the component to install whenever an older version of the product is being uninstalled with the newer MSI executing it.
From the MSI logs, it looks like this condition is being evaluated before the RemoveExistingProducts action.
Is there any work around for this?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 20, 2015
10:38 AM
Looks like that UPGRADINGPRODUCTCODE is only set on the uninstalling MSI.
IS_MAJOR_UPGRADE and IS_MINOR_UPGRADE is what I'm looking for it seems 😃
IS_MAJOR_UPGRADE and IS_MINOR_UPGRADE is what I'm looking for it seems 😃