ExistingPartitionOptionsPartitionId Property

Gets or sets the ID of the partition to install to.

Definition

Namespace: Ookii.AnswerFile
Assembly: Ookii.AnswerFile (in Ookii.AnswerFile.dll) Version: 2.1.0+446b05628b4ec6933ca1b84b1f778ac43fb60ce9
C#
public int PartitionId { get; set; }

Property Value

Int32
The one-based partition ID. The default value is zero.

Remarks

If the disk uses a default UEFI partition layout, Windows should be installed to partition 3. For the default BIOS partition layout, Windows should be installed to partition 2.

Since the default value of this property is zero, you must change it in order to generate a valid answer file.

See Also