Key

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

Key specifies whether the image index, name, or description is used to specify the metadata for an image in a Windows® image (.wim) file. For information about using this setting, see MetaData.

Values

Values for Key Description

/IMAGE/INDEX

Uses the index number to select the image to install.

/IMAGE/NAME

Uses the index name to select the image to install.

/IMAGE/DESCRIPTION

Uses the index description to select the image to install.

This string type does not support empty elements. Do not create an empty value for this setting.

Valid Configuration Passes

windowsPE

Parent Hierarchy

Microsoft-Windows-Setup | ImageInstall | DataImage | InstallFrom | MetaData | Key

Applies To

For a list of the Windows editions and architectures that this component supports, see Microsoft-Windows-Setup.

XML Examples

The following XML output shows how to configure the MetaData setting to install a specific data image by using the image index value.

            <MetaData wcm:action="add">
                <Key>/IMAGE/INDEX</Key>
                <Value>1</Value>
            </MetaData>

The following XML output shows how to configure the MetaData setting to install a specific data image using the image name.

            <MetaData wcm:action="add">
                <Key>/IMAGE/NAME</Key>
                <Value>FNB2Drivers</Value>
            </MetaData>

The following XML output shows how to configure the MetaData setting to install a specific data image by using the image description.

            <MetaData wcm:action="add">
                <Key>/IMAGE/DESCRIPTION</Key>
                <Value>FabriKam Model FNB3 Drivers</Value>
            </MetaData>

See Also

Concepts

MetaData
Value