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

Setting a condtion for Windows XP

I'm really confused about an InstallShield help document which says:

To install a component only on Windows XP, specify the expression for its Condition property.
VersionNT=501 And WindowsBuild>=2264


It can be found on this page here:

http://kb.flexerasoftware.com/doc/Helpnet/installshield12helplib/IHelpBuildCondition.htm

What confuses me though is why is:

a) Why it's bothering to specify a windows build (is VersionNT=501 not enough?)
b) Why Windows build appears to be random? I can't find this windows build referenced anywhere, including the link to the operating system property values which is given in the help document (http://msdn.microsoft.com/en-us/library/Aa370556)

Anyone have any ideas or suggestions?

Andy.
Labels (1)
0 Kudos
(2) Replies
MichaelU
Level 12 Flexeran
Level 12 Flexeran

I'm not sure either. My guess is that the build number referenced excludes beta releases of the OS. At this point I'd be very surprised to come across a beta instance of Windows XP, so you can probably safely exclude that part of the check.

As a side comment, it's also pretty rare for a condition of the format VersionNT=xyz to be correct; you almost always want a greater or less than with the equals. Case in point, if you care about all versions of Windows XP, the 64-bit release of it shares VersionNT with Windows 2003 Server.
0 Kudos
andrewcardy
Level 3

Hey,

Thanks for the advice. Oddly enough there seems to be a beta build which has a build of 2462, but not anything < 2264. Odd.

Good point about windows XP 64 though!

Andy.
0 Kudos