WillShowUI
Applies To: Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Vista
WillShowUI
specifies in what circumstances to display the user interface (UI) when applying a product key specified by ProductKey.
Values
Always |
Specifies that the UI is always displayed. |
OnError |
Specifies that the UI is displayed if an error occurs, even for catastrophic, non-recoverable errors. This is the default value. |
Never |
Specifies that the UI is never displayed.
|
This string type does not support empty elements. Do not create an empty value for this setting.
Valid Passes
windowsPE
Parent Hierarchy
Microsoft-Windows-Setup | UserData | ProductKey | 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 user data.
<UserData>
<AcceptEula>true</AcceptEula>
<FullName>EndUserName</FullName>
<Organization>Fabrikam</Organization>
<ProductKey>
<Key>12345-12345-12345-12345-12345</Key>
<WillShowUI>Never</WillShowUI>
</ProductKey>
</UserData>