cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
JasonMewes
Level 3

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)
0 Kudos
(2) Replies
Jamesbo
Level 5

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
Level 3

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 🙂
0 Kudos