cancel
Showing results for 
Search instead for 
Did you mean: 
JasonMewes
Pilgrim

Condition for component when doing a major upgrade

Hi
I'm trying to control if a component is to be installed or not by using the condition. If a previews version of the setup is installed on the computer, then I don't want to install the files in the specific component. Does anyone know how to do that?
The previews version is 7.2.17.0 and the new version is 7.2.18.0 and its a major upgrade

Thanks
// Jason
Labels (1)
Tags (1)
0 Kudos
2 Replies
Highlighted
Jamesbo
Pilgrim

Re: Condition for component when doing a major upgrade

try IS_MAJOR_UPGRADE to have the condition only true for a major upgrade or NOT IS_MAJOR_UPGRADE for the opposite, I just used this for a custom action and it seems to test OK

Snooch
0 Kudos
JasonMewes
Pilgrim

Re: Condition for component when doing a major upgrade

Jamesbo wrote:
try IS_MAJOR_UPGRADE to have the condition only true for a major upgrade or NOT IS_MAJOR_UPGRADE for the opposite, I just used this for a custom action and it seems to test OK

Snooch


Yes that seems to the work.
Thanks Smiley Happy
0 Kudos