Installer.UILevel property

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.

This property is read/write.


propVal = Installer.UILevel
Installer.UILevel = propVal 

Property value


User interface levelValueDescription
msiUILevelNoChange0Does not change UI level.
msiUILevelDefault1Uses default UI level.
msiUILevelNone2Silent installation.
msiUILevelBasic3Simple progress and error handling.
msiUILevelReduced4Authored UI and wizard dialog boxes suppressed.
msiUILevelFull5Authored UI with wizards, progress, and errors.
msiUILevelHideCancel32If 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.
msiUILevelProgressOnly64If combined with the msiUILevelBasic value, the installer displays progress dialog boxes but does not display any modal dialog boxes or error dialog boxes.
msiUILevelEndDialog128If 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.



Windows Installer 5.0 on Windows Server 2012, Windows 8, 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 or Windows XP




IID_IInstaller is defined as 000C1090-0000-0000-C000-000000000046