InstallToInstallTo

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

子項目Child Elements

設定Setting 描述Description
DiskIDDiskID 指定要安裝的映像之磁碟的磁碟識別碼。Specifies the disk ID of the disk to which the image is installed.
PartitionIDPartitionID 指定要安裝的映像的磁碟分割的資料分割識別碼。Specifies the partition ID of the partition to which the image is installed.

有效的設定階段Valid Configuration Passes

windowsPEwindowsPE

父階層Parent Hierarchy

Microsoft-Windows-Setup | 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