ImageInstall

ImageInstall は、インストールする Windows イメージまたはセカンダリ データ イメージと、イメージのインストール先の場所を指定します。

子要素

設定 説明
DataImage インストールするセカンダリ データ イメージを指定します。
OSImage インストールする Windows オペレーティング システム イメージを指定します。

有効な構成パス

windowsPE

[親階層]

Microsoft-Windows-Setup | ImageInstall

適用対象

このコンポーネントがサポートしている Windows のエディションとアーキテクチャの一覧については、「Microsoft-Windows-Setup」を参照してください。

XML の例

次の XML 出力は、オペレーティング システム イメージとデータ イメージの両方をインストールする ImageInstall 設定を設定する方法を示しています。

<ImageInstall>
    <OSImage>
        <InstallFrom>
            <Credentials>
                <Domain>FabrikamDomain</Domain>
                <Password>MyPassword</Password>
                <Username>MyUsername</Username>
            </Credentials>
            <Path>\\networkshare\share\install.wim</Path>
            <MetaData wcm:action="add">
                <Key>/IMAGE/NAME</Key>
                <Value>FabrikamCustomOSImage</Value>
            </MetaData>
        </InstallFrom>
        <InstallTo>
            <DiskID>0</DiskID>
            <PartitionID>1</PartitionID>
        </InstallTo>
        <WillShowUI>OnError</WillShowUI>
        <InstallToAvailablePartition>false</InstallToAvailablePartition>
    </OSImage>
    <DataImage wcm:action="add">
        <InstallTo>
            <DiskID>0</DiskID>
            <PartitionID>2</PartitionID>
        </InstallTo>
        <InstallFrom>
            <Credentials>
                <Domain>FabrikamDomain</Domain>
                <Password>MyPassword</Password>
                <Username>MyUsername</Username>
            </Credentials>
            <Path>\\networkshare\share\data.wim</Path>
            <MetaData wcm:action="add">
                <Key>/IMAGE/NAME</Key>
                <Value>FabrikamData</Value>
            </MetaData>
        </InstallFrom>
        <Order>1</Order>
    </DataImage>
</ImageInstall>

Microsoft-Windows-Setup