Conditions to Check When Creating Patches Using Wise Package Studio
To Check the Windows OS version on target machine, look for the "VersionNT" MSI property. This property's values, for different OSs, are as follows:
System VersionNT
Windows NT 4.0 (Gold) 400
Windows NT 4.0 + Service Pack 1 400
Windows NT 4.0 + Service Pack 2 400
Windows NT 4.0 + Service Pack 3 400
Windows NT 4.0 + Service Pack 4 400
Windows NT 4.0 + Service Pack 5 400
Windows NT 4.0 + Service Pack 6 400
Windows 2000 500
Windows 2000 + Service Pack 1 500
Windows XP 501
Windows XP + Service Pack 1 501
Windows Server 2003 family 502
To check for the Service pack on Windows O.S., look for the "CSDVersion" value under the following key:
HKLM\Software\Microsoft\Windows NT\CurrentVersion
To check for the Suite of Windows O.S (for ex Terminal Server), look for the "ProductSuite" value under the following key:
HKLM\System\CurrentControlSet\Control\ProductOptions
To check for the Type of Windows O.S (for ex Server/Workstation), look for the "ProductType" value under the following key:
HKLM\System\CurrentControlSet\Control\ProductOptions
To check for the Version of Internet Explorer, look for the "Version" value under the following key:
HKLM\Software\Microsoft\Internet Explorer
Assuming we define:
- VARCSDVERSION for Windows O.S. service packs
- VARPRODUCTTYPE for Type of Windows O.S.
- VARPRODUCTTYPESUITE for Suite of Windows O.S.
We have following conditions for the Operating Systems:
Windows NT 4.0 SP6:
VersionNT="400" AND VARCSDVERSION = "Service Pack 6"
Windows NT 4.0 SP6 Server:
VersionNT="400" AND VARPRODUCTTYPE = "ServerNT" AND
VARCSDVERSION = "Service Pack 6" AND NOT Installed AND NOT PATCH
Windows NT 4.0 SP6 WorkStation:
VersionNT="400" AND VARPRODUCTTYPE = "WinNT" AND
VARCSDVERSION = "Service Pack 6" AND NOT Installed AND NOT PATCH
Windows NT 4.0 SP6 Terminal Server:
VersionNT="400" AND VARPRODUCTTYPESUITE = "Terminal Server" AND
VARCSDVERSION = "Service Pack 6" AND NOT Installed AND NOT PATCH
Windows 2000 SP1
VersionNT="500" AND VARCSDVERSION = "Service Pack 1"
Windows XP SP1
VersionNT="501" AND VARCSDVERSION = "Service Pack 1"
Windows XP Gold
VersionNT="501" AND ServicePackLevel = 0
Windows 2003
VersionNT="502" AND NOT Installed AND NOT PATCH
- Login or register to post comments
- 707 reads
- Printer-friendly version















