ImageSelection

Note

これらの設定は、Windows 11 には適用されません

ImageSelection は、インストールする画像とインストール先、ユーザー インターフェース (UI) を表示するかを指定します。

子要素

設定 説明
InstallImage インストールするファイル名、イメージ グループ、およびイメージの名前を指定します。
InstallTo イメージのインストール場所を指定します。
WillShowUI UI が表示される状況を指定します。

有効な構成パス

windowsPE

[親階層]

Microsoft-Windows-Setup | WindowsDeploymentServices | ImageSelection

適用対象

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

XML の例

次の XML 出力は、Windows 展開サービスの展開の全体を示しています。

<WindowsDeploymentServices>
   <Login>
      <WillShowUI>OnError</WillShowUI>
      <Credentials>
         <Username>Administrator</Username>
         <Domain>MY-DOMAIN-NAME</Domain>
         <Password>********</Password>
      </Credentials>
   </Login>
  <ImageSelection>
      <WillShowUI>OnError</WillShowUI>
      <InstallImage>
         <ImageName>MY_IMAGE_NAME</ImageName>
         <ImageGroup>My IMAGE GROUP</ImageGroup>
      </InstallImage>
      <InstallTo>
         <DiskID>0</DiskID>
         <PartitionID>1</PartitionID>
      </InstallTo>
   </ImageSelection>
</WindowsDeploymentServices>
<DiskConfiguration>
   <WillShowUI>OnError</WillShowUI>
   <Disk>
      <DiskID>0</DiskID>
      <WillWipeDisk>false</WillWipeDisk>
      <ModifyPartitions>
         <ModifyPartition>
            <Order>1</Order>
            <PartitionID>3</PartitionID>
            <Letter>C</Letter>
            <Label>TestOS</Label>
            <Format>NTFS</Format>
            <Active>true</Active>
            <Extend>false</Extend>
         </ModifyPartition>
      </ModifyPartitions>
   </Disk>
</DiskConfiguration>

WindowsDeploymentServices