This documentation is archived and is not being maintained.


Size specifies the size of the partition to create, in megabytes.




Specifies the size of the partition that you create, in megabytes.

For example, to create a 2 GB partition, set Size to 2000.

If you specify a size for the partition by using this setting, do not set Extend. If a value for Size is specified and Extend is set to true, no partition is created. An error is logged, and installation terminates.

Valid Passes

Parent Hierarchy

Applies To

For the list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-Setup.

XML Example

The following XML output for the DiskConfiguration setting shows how to create three partitions on a hard drive.

<!-- Create primary partition, 20 GB -->
<!-- Create extended partition and fill the rest of the hard disk -->
<!-- Create logical partition within the extended partition, 6 GB -->

See Also