Question

I'm building a Condition on one of my Registry entries in a Visual Studio Setup Project (.vdproj) and I want to install the key if, and only if, it's Windows XP it's being installed on. So, I found that I'll be able to use the VersionNT property in the condition based off this article.

However, none of the linked articles, nor any of these Google searches really turned up anything for me:

  • windows xp versionnt
  • what is the windows xp versionnt

Would this condition be correct VersionNT >= 600 && VersionNT < 700? NOTE: I'm guessing at the 600 for Windows XP here.

Was it helpful?

Solution

Windows XP is version 5.1.
(5.0 is 2000; 6.0 is Vista)

A full lists is available here (search Google for windows xp version number)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top