Click to Rate and Give Feedback
MSDN
MSDN Library
Windows Installer
Properties
Property Reference
 VersionNT Property

  Switch on low bandwidth view
VersionNT Property

The installer sets the VersionNT property to the version number for the operating system, undefined if the operating system is not Windows NT, Windows 2000, Windows XP, Windows Vista, Windows Server 2008, or Windows 7. The value is an integer: MajorVersion * 100 + MinorVersion.

Conditional statements that depend upon the operating system can use this property.

See also Operating System Property Values.

Remarks

Condition expressions can test for Windows NT, Windows 2000, or Windows XP by using the property name, or may verify the version by using a comparison operator.

Requirements

VersionWindows Installer 5.0 on Windows Server 2008 R2 or Windows 7. Windows Installer 4.0 or Windows Installer 4.5 on Windows Server 2008 or Windows Vista. Windows Installer on Windows Server 2003, Windows XP, and Windows 2000 See the Windows Installer Run-Time Requirements for information about the minimum Microsoft Windows service pack that is required by a Windows Installer version.

See Also

Properties

Send comments about this topic to Microsoft

Build date: 6/25/2009

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker