Dela via


Value

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

Value is used with the setting: Key to choose which Windows image to install from a Windows image file (.wim). Windows image files may contain multiple Windows images. The Value may identify a Windows image by its index number, its name, or its description.

Values

Value

Specifies a value for the setting: Key.

Value is a string.

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 | OSImage | InstallFrom | MetaData | Value

Applies To

For the list of 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 Windows image from a Windows image (.wim) file using the image index value.

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

The following XML output shows how to configure the MetaData setting to install a specific Windows image from a custom Windows image (.wim) file using the image name.

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

The following XML output shows how to configure the MetaData setting to install a specific Windows image from a custom Windows image (.wim) file using the image description.

            <MetaData wcm:action="add">
                <Key>/IMAGE/DESCRIPTION</Key>
                <Value>Model FNB1</Value>
            </MetaData>

See Also

Concepts

MetaData
Key