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: Setting a condtion for Windows XP
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 22, 2011
04:47 AM
Setting a condtion for Windows XP
I'm really confused about an InstallShield help document which says:
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.
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.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 22, 2011
06:05 AM
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.
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.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 27, 2011
03:43 AM
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.
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.
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)