Version numbers for Xp & XP SP2

  • Thread starter Thread starter ChrisB
  • Start date Start date
C

ChrisB

Do XP and XP SP2 have different version numbers that I can test for within
my program to dteremine if SP2 is installed? If not, how do I
programatically determine if XP SP2 is installed?
 
Hi

Either type the following grom Start>Run

winver

or right click on My Computer and select Properties. You can find out which
version is installed via both of the above methods.
 
The most appropriate method would on which language you are using

eg checking this registry key

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\CSDVersion

Jon
 
ChrisB said:
Do XP and XP SP2 have different version numbers that I can test for within
my program to dteremine if SP2 is installed? If not, how do I
programatically determine if XP SP2 is installed?

In the registry, at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft
\Windows NT\CurrentVersion

the value of CSDVersion will be "Service Pack 2"
 
Thanks!
Alex Nichol said:
In the registry, at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft
\Windows NT\CurrentVersion

the value of CSDVersion will be "Service Pack 2"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top