Contains information that describes a Windows unattended Setup answer file. The answer file is typically called Unattend.xml.

The following tables list the members exposed by the AnswerFile type.

Public Properties

  Name Description
ApplicationTitle Retrieves the name of the answer file.
ComponentSettings Get the collection of all components with settings that can be overridden in the answer file.
DefaultPublishFileName Retrieves the answer file name in a configuration set.
DefaultPublishFolderName Retrieves the default folder name that will be used to store the configuration set.
Dirty Retrieves or sets the state of the answer file.
DocumentState Retrieves the document state of the answer file and checks whether the file is loaded.
LoadResult Retrieves the validation result for the recently opened answer file.
OfflineImage Retrieves or sets the offline image this answer file is created against.
PackageActions Retrieves the collection of all package actions in the answer file. The collection can be searched using the package identity.
Path Retrieves the path from which the answer file is loaded.
SettingOverrides Retrieves the setting overrides collection of the answer file.
SourceIsReadOnly Checks if the answer file is read-only.

Public Methods (see also Protected Methods )

  Name Description
CanConsume  (inherited from ObjectBase )
Consume  (inherited from ObjectBase )
CreateConfigurationSet Overloaded.  
Equals  Overloaded. (inherited from Object )
GetDriverPaths Retrieves the driver path collection for a specific configuration pass.
GetHashCode  (inherited from Object )
GetRunOnceCommands Retrieves a RunOnceCommand collection for a specific configuration pass.
GetType  (inherited from Object )
IsConfigurationSet Determines whether the answer file is part of a configuration set.
Load Loads or reloads an answer file.
MergeComponentSettingXml Merge all setting overrides in an instance of AnswerFileComponentSetting into another configuration pass in this AnswerFile instance.
Purge Removes all setting overrides in answer files that do not have an override value.
ReferenceEquals  (inherited from Object )
Save Overloaded.  
SaveAs Overloaded.  
ToString  (inherited from Object )
Validate Validates the settings in the current answer file.

Protected Methods

  Name Description
Generic CreateProperty  (inherited from ObjectBase )
Finalize  (inherited from Object )
MemberwiseClone  (inherited from Object )
Generic OnValueChanged  (inherited from ObjectBase )

Public Events

  Name Description
ConfirmOverwriteXml Confirms whether to overwrite the existing override when merging .xml files.
CreateConfigurationSetProgressChanged Reports the status during file creation.
PropertyChanged  (inherited from ObjectBase )

See Also