Condividi tramite


AdditionalUnattendContent Class

Definition

Specifies additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is applied.

public class AdditionalUnattendContent
type AdditionalUnattendContent = class
Public Class AdditionalUnattendContent
Inheritance
AdditionalUnattendContent

Constructors

AdditionalUnattendContent()

Initializes a new instance of the AdditionalUnattendContent class.

AdditionalUnattendContent(Nullable<PassNames>, Nullable<ComponentNames>, Nullable<SettingNames>, String)

Initializes a new instance of the AdditionalUnattendContent class.

Properties

ComponentName

Gets or sets the component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup. Possible values include: 'Microsoft-Windows-Shell-Setup'

Content

Gets or sets specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted.

PassName

Gets or sets the pass name. Currently, the only allowable value is OobeSystem. Possible values include: 'OobeSystem'

SettingName

Gets or sets specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon. Possible values include: 'AutoLogon', 'FirstLogonCommands'

Applies to