UpgradeData

UpgradeData specifies whether the installation type is an upgrade of an existing operating system. This setting also specifies in what circumstances the user interface (UI) is displayed.

Windows Setup does not support using any other unattended Setup settings during upgrades. When you upgrade from an earlier version of Windows, you must create an answer file that includes only the Windows-Setup\UpgradeData settings. Then, you must use either the Windows product DVD or the System Preparation (Sysprep) tool to upgrade Windows.

For a sample answer file, see the XML Example section.

Warning

If you use an installation image that was originally installed by using an Unattend.xml file, and you execute the Repair in-place upgrade (overwrite installation) option, the upgrade installation may quit. You may not be able to restart the installation. For more information, see Knowledge Base Article ID 2425962.

Child Elements

Setting Description
Upgrade Specifies whether the installation is an upgrade of an existing operating system.
WillShowUI Specifies in what circumstances the UI is displayed.

Valid Configuration Passes

windowsPE

Parent Hierarchy

Microsoft-Windows-Setup | UpgradeData

Applies To

For a list of the 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.

<UpgradeData>
   <Upgrade>true</Upgrade>
   <WillShowUI>Never</WillShowUI>
</UpgradeData>

Microsoft-Windows-SetupMicrosoft-Windows-Setup