WillShowUI specifies in what circumstances the user interface (UI) is displayed for UpgradeData.



Specifies that the UI is always displayed for this item.


Specifies that the UI is displayed for this item when an error occurs. This is the default value.


Specifies that the UI is never displayed for this item. Specifies that the UI is never displayed.

WillShowUI only prevents Windows Setup UI pages from being displayed. If a critical error occurs, an error message might be displayed. To avoid displaying the error message, you can use the ErrorHandler.cmd file to automatically run a script to handle the error. For more information about ErrorHandler.cmd, see the OEM Preinstallation Kit (OPK) User's Guide (Opk.chm) or the Windows Automated Installation Kit (AIK) User's Guide (Waik.chm).

This string type does not support empty elements. Do not create an empty value for this setting.

Valid Passes


Parent Hierarchy

Microsoft-Windows-Setup | UpgradeData | WillShowUI

Applies To

For the list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-Setup.

XML Example

The following XML output shows how to set an upgrade installation to run in guaranteed quiet mode.


See Also