共用方式為


InstallTo (Standard 7 Package Reference)

7/8/2014

The InstallTo setting specifies the disk and partition where you install the Windows operating system image.

You must specify valid values for the DiskID and PartitionID settings. If you are installing to a blank disk, you must create and format partitions with the CreatePartitions and ModifyPartitions settings.

Comparison of OSImage Settings: InstallTo and InstallToAvailablePartition

For unattended installations, you must specify either the InstallTo or the InstallTo setting.

Setup\ImageInstall\OSImage\InstallTo

Installs Windows to a specified disk and partition.

Setup\ImageInstall\OSImage\InstallToAvailablePartition

Installs Windows to the first available partition that has enough space and does not already contain an installation of Windows.

Note

In the OSImage setting, if you set the InstallToAvailablePartition setting to true, do not set the InstallTo setting.
If both of these settings are set, and if the WillShowUI setting is set to Never, then an error is logged, and installation is terminated.

Child Elements

DiskID

Specifies the disk identifier of the hard disk on which to install Windows.

PartitionID

Specifies the partition identifier of the partition on which to install Windows.

Valid Passes

windowsPE

See Also

Concepts

OSImage
InstallToAvailablePartition