How to determine if XP Service Pack 3 is running on a computer

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

Hurrah!

+5
source share
5 answers

in the registry key

HKLM \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion

find the key pair:

CurrentVersion = Microsoft Windows NT 5.1.2600 Service Pack 3

+5
source

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
+4
source

MSI, VersionNT ServicePackLevel .

. Windows XP sp3 :

VersionNT=501 And ServicePackLevel>2

WindowsBuild, .

+2

VerifyVersionInfo , Windows , , GetVersionEx (, - , , Vista, Windows 7 ).

+1

"" ( Windows + r /) msinfo32 sysdm.cpl

-1

All Articles