Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I determine if a computer is running XP Service pack 3

Using either the registry or the file system. The reason for the restriction is that I am doing this as an MSI conditional statement.

Cheers!

like image 973
Duncan Edwards Avatar asked May 14 '09 12:05

Duncan Edwards


People also ask

Is Windows XP Service Pack 3 still available?

Service Pack 3 Setup has been canceled because Microsoft Shared Computer Toolkit for Windows XP is not compatible with this version of Windows.

What is Windows XP Service Pack?

Windows XP Service Pack 3 (SP3) is the third major update for Windows XP. It contains all of the previously released XP updates, plus new security patches and a few stability enhancements. On this page: Updates.


2 Answers

under registry key

HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion

look for key pair:

CurrentVersion = Microsoft Windows NT 5.1.2600 Service Pack 3

like image 173
kloucks Avatar answered Nov 01 '22 14:11

kloucks


You should find enough information to determine the OS service pack (in the worst case you can always use the build string) in the following registry key:


HKLM\Software\Microsoft\Windows NT\CurrentVersion
like image 26
em70 Avatar answered Nov 01 '22 14:11

em70