InstallTo (windowsdeploymentservices-imageselection-InstallTo) InstallTo (microsoft-windows-setup-windowsdeploymentservices-imageselection-installto)

InstallTo 指定映像要安装到的位置。InstallTo specifies the location to which the image is to be installed.

子元素Child Elements

设置Setting 说明Description
DiskIDDiskID 指定映像所安装到的磁盘的磁盘 ID。Specifies the disk ID of the disk to which the image is installed.
PartitionIDPartitionID 指定映像所安装到的分区的分区 ID。Specifies the partition ID of the partition to which the image is installed.

有效的配置阶段Valid Configuration Passes

windowsPEwindowsPE

父层次结构Parent Hierarchy

Microsoft-Windows-设置 | WindowsDeploymentServices | ImageSelection | InstallToMicrosoft-Windows-Setup | WindowsDeploymentServices | ImageSelection | InstallTo

适用于Applies To

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

XML 示例XML Example

下面的 XML 输出显示了一个完整的 Windows 部署服务部署。The following XML output shows a complete Windows Deployment Services deployment.

<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>

ImageSelectionImageSelection