AdditionalUnattendContent Class

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.

Inheritance
AdditionalUnattendContent

Constructor

AdditionalUnattendContent(*, pass_name: typing.Union[str, NoneType] = None, component_name: typing.Union[str, NoneType] = None, setting_name: typing.Union[str, _ForwardRef('SettingNames'), NoneType] = None, content: typing.Union[str, NoneType] = None, **kwargs)

Parameters

pass_name
str
Required

The pass name. Currently, the only allowable value is OobeSystem. The only acceptable values to pass in are None and "OobeSystem". The default value is None.

component_name
str
Required

The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup. The only acceptable values to pass in are None and "Microsoft-Windows-Shell-Setup". The default value is None.

setting_name
str or SettingNames
Required

Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon. Possible values include: "AutoLogon", "FirstLogonCommands".

content
str
Required

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.