Compartilhar via


Upgrade

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

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.

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.

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>

See Also

Concepts

UpgradeData