值 (imageinstall-osimage-installfrom-metadata-value) Value (microsoft-windows-setup-imageinstall-osimage-installfrom-metadata-value)

Value 与 setting: Key 一起使用,以选择要从 windows 映像文件安装哪个 windows 映像 ( .wim) 。Value is used with the setting: Key to choose which Windows image to install from a Windows image file (.wim). Windows 映像文件可能包含多个 Windows 映像。Windows image files may contain multiple Windows images. Value可以通过索引号、名称或其说明来标识 Windows 映像。The Value may identify a Windows image by its index number, its name, or its description.

Values

Value

指定 setting: Key的值。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

windowsPEwindowsPE

父层次结构Parent Hierarchy

microsoft-windows-设置- | ImageInstall | OSImage | InstallFrom | 元数据 | microsoft-windows-setup- | ImageInstall | OSImage | InstallFrom | MetaData | Value

适用于Applies To

有关此组件支持的 Windows 版本和体系结构的列表,请参阅 microsoft-安装-For the list of Windows editions and architectures that this component supports, see microsoft-windows-setup-.

XML 示例XML Examples

以下 XML 输出显示了如何 MetaData 使用映像索引值将设置配置为从 Windows 映像 ( .wim) 文件安装特定的 windows 映像。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>

以下 XML 输出显示了如何将设置配置 MetaData 为使用映像名称从自定义 windows 映像 ( .wim) 文件安装特定的 windows 映像。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>

以下 XML 输出显示了如何 MetaData 使用映像说明将设置配置为使用自定义 windows 映像 ( .wim) 文件安装特定的 windows 映像。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>

MetaDataMetaData

KeyKey