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 image installation user interface (UI).
Values
Always |
Specifies that the UI is always displayed. |
OnError |
Specifies that the UI is displayed only if an error occurs, even for catastrophic, non-recoverable errors. This is the default value. |
Never |
Specifies that the UI is never displayed.
|
Valid Passes
windowsPE
Parent Hierarchy
Microsoft-Windows-Setup | ImageInstall | OSImage | 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 the ImageInstall
setting to install both an operating system image and a data image.
<ImageInstall>
<OSImage>
<InstallFrom>
<Credentials>
<Domain>FabrikamDomain</Domain>
<Password>MyPassword</Password>
<Username>MyUsername</Username>
</Credentials>
<Path>\\networkshare\share\install.wim</Path>
<MetaData wcm:action="add">
<Key>/IMAGE/NAME</Key>
<Value>FabrikamCustomOSImage</Value>
</MetaData>
</InstallFrom>
<InstallTo>
<DiskID>0</DiskID>
<PartitionID>1</PartitionID>
</InstallTo>
<WillShowUI>OnError</WillShowUI>
<InstallToAvailablePartition>false</InstallToAvailablePartition>
</OSImage>
<DataImage wcm:action="add">
<InstallTo>
<DiskID>0</DiskID>
<PartitionID>2</PartitionID>
</InstallTo>
<InstallFrom>
<Credentials>
<Domain>FabrikamDomain</Domain>
<Password>MyPassword</Password>
<Username>MyUsername</Username>
</Credentials>
<Path>\\networkshare\share\data.wim</Path>
<MetaData wcm:action="add">
<Key>/IMAGE/NAME</Key>
<Value>FabrikamData</Value>
</MetaData>
</InstallFrom>
<Order>1</Order>
</DataImage>
</ImageInstall>