The UILevel property of the Installer object is a read-write property that indicates the type of user interface to be used when opening and processing subsequent packages within the current process space.
Syntax
Script
Installer.UILevel
Remarks
User interface level | Value | Description |
---|---|---|
msiUILevelNoChange | 0 | Does not change UI level. |
msiUILevelDefault | 1 | Uses default UI level. |
msiUILevelNone | 2 | Silent installation. |
msiUILevelBasic | 3 | Simple progress and error handling. |
msiUILevelReduced | 4 | Authored UI and wizard dialog boxes suppressed. |
msiUILevelFull | 5 | Authored UI with wizards, progress, and errors. |
msiUILevelHideCancel | 32 | If combined with the msiUILevelBasic value, the installer shows progress dialog boxes but does not display a Cancel button on the dialog box to prevent users from canceling the installation. |
msiUILevelProgressOnly | 64 | If combined with the msiUILevelBasic value, the installer displays progress dialog boxes but does not display any modal dialog boxes or error dialog boxes. |
msiUILevelEndDialog | 128 | If combined with any above value, the installer displays a modal dialog box at the end of a successful installation or if there has been an error. No dialog box is displayed if the user cancels. |
See also, Determining UI Level from a Custom Action.
Requirements
Version | Windows 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 |
---|---|
DLL | Msi.dll |
IID | IID_IInstaller is defined as 000C1090-0000-0000-C000-000000000046 |
Send comments about this topic to Microsoft
Build date: 8/13/2009
© 2009 Microsoft Corporation. All rights reserved.