Upgrade

Upgrade specifies whether the present installation is an upgrade from a previous version of Windows.

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.

Caution   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.

Values

true

Specifies that the present installation is an upgrade.

false

Specifies that the present installation is not an upgrade. This is the default value.

Valid Configuration Passes

windowsPE

Parent Hierarchy

microsoft-windows-setup- | UpgradeData | Upgrade

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>

UpgradeData