The installer sets this variable to the service pack level of the target system.


You can refer to it as <ServicePackLevel>. In conditional expressions you can omit the brackets and use tests like ServicePackLevel >= 2. Do not set this variable directly; it is set automatically when the installer runs.

Related topics

ServicePackLevelMinor, Version9X, VersionNT, VersionNT32, VersionNT64, WindowsBuild, System information variables