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: Prerequisites Condition - Help needed plz
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
‎Apr 11, 2008
03:56 AM
Prerequisites Condition - Help needed plz
Hi,
I want to set a prerequisite to be installed only on certain operating systems, thus i use the condition of the prerequisite depending on the operating system.
My problem is that I want some kind of OR between the conditions; more exactly
XP SP2 and Vista are accepted.
Can anyone give me a hint on how to do this ?
Thanks,
Daniell
I want to set a prerequisite to be installed only on certain operating systems, thus i use the condition of the prerequisite depending on the operating system.
My problem is that I want some kind of OR between the conditions; more exactly
XP SP2 and Vista are accepted.
Can anyone give me a hint on how to do this ?
Thanks,
Daniell
(10) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 11, 2008
04:31 AM
Can you be more specific what do you need? What kind of OR condition do you need?
Can you give an example?
Can you give an example?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 11, 2008
04:44 AM
Well I need the prerequisites to install in case one of the two OS are found:
Windows XPSP2 OR Vista, and I dunno how to specify those both.
Thanks
Daniell
Windows XPSP2 OR Vista, and I dunno how to specify those both.
Thanks
Daniell
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 11, 2008
04:55 AM
You can use this condition :
((VersionNT = 501 and ServicePackLevel > 1) OR (VersionNT = 600))
Hope, this is what you needed..
((VersionNT = 501 and ServicePackLevel > 1) OR (VersionNT = 600))
Hope, this is what you needed..
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 11, 2008
04:59 AM
Thanks for your reply,
I am allready using this condition for my CA, but I want to put this condition when installing the redists. Can i do something like this ?
Daniell
I am allready using this condition for my CA, but I want to put this condition when installing the redists. Can i do something like this ?
Daniell
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 11, 2008
05:17 AM
I have not faced this situation, i m not sure about whether we can use this for redists!!!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 11, 2008
05:25 AM
This is why I was saying I need an OR between the redists conditions 🙂
I'm still searching for a sollution 😞
Thanks,
Daniel
I'm still searching for a sollution 😞
Thanks,
Daniel
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 11, 2008
09:37 AM
Unlike the rest of the conditions on prerequisites, OS conditions are considered as a list of supported platforms and are automatically OR'd together. After all, it's hard to imagine a single machine is both Windows 2000 and Windows XP simultaneously.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 12, 2008
07:00 AM
That would be cool 🙂
I guess you are right, an AND condition between OS wouldn't be of any help to nobody. But if there is another condition, I expect it would do something like
(OS1 OR OS2) AND COND1
Is this correct ?
Cheers,
Daniell
I guess you are right, an AND condition between OS wouldn't be of any help to nobody. But if there is another condition, I expect it would do something like
(OS1 OR OS2) AND COND1
Is this correct ?
Cheers,
Daniell
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 12, 2008
08:12 AM
You're correct. The prerequisite is installed on the target machine if the target machine meets any of the operating system conditions and all of the other conditions that are listed on the Conditions tab in the Prerequisite Editor.
Debbie Landers
Acresso Software
Debbie Landers
Acresso Software
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 12, 2008
08:43 AM
Just managed to implement and test it on both operating systems (and win2k to see that it works). Thanks a lot for your help; my problem is solved. 🙂
Best regards,
Daniell
Best regards,
Daniell
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)