Targeted Install Options BaseImage Index Property
Gets or sets the index of the Windows image to install.
Definition
Namespace: Ookii.AnswerFile
Assembly: Ookii.AnswerFile (in Ookii.AnswerFile.dll) Version: 2.3.0+3ec3ef5391bcdf8d84abe65b91ab672cac4934d3
The one-based image index, or zero to decide based on the product key.
Assembly: Ookii.AnswerFile (in Ookii.AnswerFile.dll) Version: 2.3.0+3ec3ef5391bcdf8d84abe65b91ab672cac4934d3
C#
public int ImageIndex { get; set; }VB
Public Property ImageIndex As Integer
Get
SetC++
public:
property int ImageIndex {
int get ();
void set (int value);
}F#
member ImageIndex : int with get, setProperty Value
Int32The one-based image index, or zero to decide based on the product key.
Remarks
A WIM or ESD image file can contain multiple images, typically used for different SKUs such as Home or Professional. Normally, the AnswerFileOptionsProductKey property is used to determine which image to install. However, for editions that are not necessarily activated using a product key (such as those using volume licensing), you can use the image index to select which edition to install.
To list the images in a WIM or ESD file, use the PowerShell Get-WindowsImage command.