INSTALLLEVEL Property

Windows Installer

INSTALLLEVEL Property

The INSTALLLEVEL property is the initial level at which features are selected "ON" for installation by default. A feature is installed only if the value in the Level field of the Feature table is less than or equal to the current INSTALLLEVEL value. The installation level for any installation is specified by the INSTALLLEVEL property, and can be an integral from 1 to 32,767. For further discussion of installation levels, see Feature Table.

Default Value

If no value is specified, the install level defaults to 1.

Remarks

The installation level specified by the INSTALLLEVEL property can be overridden by the following properties:

For example, setting ADDLOCAL=ALL installs all features locally regardless of the value of the INSTALLLEVEL property. If the value of the Level column in the Feature table is 0, that feature is not installed and not displayed in the UI.

An administrator can permanently disable a feature by applying a customization transform that sets a 0 in the Level column for that feature. The application of the customization transform prevents the installation and display of the feature even if the user selects a complete installation using the UI or by setting ADDLOCAL to ALL on the command line. See A Customization Transform Example.

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 Windows service pack that is required by a Windows Installer version.

See Also

Properties

Send comments about this topic to Microsoft

Build date: 8/13/2009

© 2009 Microsoft Corporation. All rights reserved.