LaunchCondition - Verion9X, VersionNT, WindowsBuild

LaunchCondition makes sure that the environment the application is being installed into meets necessary prerequisites like OS version, .Net, etc. At the beginning of an application installation the LaunchConditions action queries the LaunchCondition table. All queries must return TRUE in order for the installation to proceed. If any of the items in the Condition column return FALSE a message box is displayed with the contents of the Description column and the installation exits.

Example:

Condition:(Not Version9X) And (Not VersionNT=400)

Description:[ProductName] requires Windows 2000 or later.

Table of OS Version9X, VersionNT and WindowsBuild

System Verion9X VersionNT WindowsBuild ServicePackLevel
Windows 95 400 NA 950 (1111 for OSR 2.5) NA
Windows 98 410 NA 1998(2222 for Second Edition) NA
Windows Me 490 NA 3000 NA
Windows 2000 NA 500 2195 NA
Windows 2000 + Service Pack 1 NA 500 2195 1
Windows 2000 + Service Pack 2 NA 500 2195 2
Windows 2000 + Service Pack 3 NA 500 2195 3
Windows 2000 + Service Pack 4 NA 500 2195 4
Windows XP NA 501 2600 NA
Windows XP with Service Pack 1 (SP1) NA 501 2600 1
Windows XP with Service Pack 2 (SP2) NA 501 2600 2
Windows XP with Service Pack 3 (SP3) NA 501 2600 3
Windows Server 2003 NA 502 3790 NA
Windows Server 2003 with Service Pack 1 (SP1) NA 502 3790 1
Windows Server 2003 with Service Pack 2 (SP2) NA 502 3790 2
Windows Vista NA 600 6000 NA
Windows Vista with Service Pack 1 (SP1) NA 600 6001 1
Windows Vista with Service Pack 2 (SP2) NA 600 6002 2
Windows Server 2008 NA 600 6001 NA
Windows Server 2008 with Service Pack 2 (SP2) NA 600 6002 2
Windows Server 2008 R2 NA 601 greater than 7100 NA
Windows 7 NA 601 greater than 7100 NA
Windows 7 with Service Pack 1 (SP1) NA 601 greater than 7100 1
Windows 8 NA 602 greater than or equal to 9200 NA
Windows Server 2012 NA 602 greater than or equal to 9200 NA

Note: Besides checking for OS version packagers can also add checks for min IE version, .Net, etc.

Anonymous