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
- :
- Condition for component when doing a major 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
‎Jun 08, 2016
02:47 AM
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
![](/legacyfs/online/vb/11097_a.png)
Thanks
// Jason
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
![](/legacyfs/online/vb/11097_a.png)
Thanks
// Jason
- Tags:
- condition
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 14, 2016
12:59 PM
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
Snooch
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 16, 2016
07:03 AM
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 🙂
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)