cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
danieluc
Level 6

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
Labels (1)
0 Kudos
(10) Replies
vijayakumar
Level 6

Can you be more specific what do you need? What kind of OR condition do you need?

Can you give an example?
0 Kudos
danieluc
Level 6

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
0 Kudos
vijayakumar
Level 6

You can use this condition :

((VersionNT = 501 and ServicePackLevel > 1) OR (VersionNT = 600))

Hope, this is what you needed..
0 Kudos
danieluc
Level 6

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
0 Kudos
vijayakumar
Level 6

I have not faced this situation, i m not sure about whether we can use this for redists!!!
0 Kudos
danieluc
Level 6

This is why I was saying I need an OR between the redists conditions 🙂
I'm still searching for a sollution 😞
Thanks,
Daniel
0 Kudos
MichaelU
Level 12 Flexeran
Level 12 Flexeran

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.
0 Kudos
danieluc
Level 6

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
0 Kudos
DebbieL
Level 17

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
0 Kudos
danieluc
Level 6

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