AnswerFileGenerator Class

A generator for Windows unattended installation files.

Definition

Namespace: Ookii.AnswerFile
Assembly: Ookii.AnswerFile (in Ookii.AnswerFile.dll) Version: 2.1.0+446b05628b4ec6933ca1b84b1f778ac43fb60ce9
C#
public class AnswerFileGenerator
Inheritance
Object    AnswerFileGenerator

Remarks

Create an instance of the AnswerFileOptions class with the answer file options you wish to use, and call the Generate(String, AnswerFileOptions) method or one of its overloads to generate an answer file with those options.

Properties

Options Gets the options used for this generator.
Writer Gets the XmlWriter that output is written to.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Generate(String, AnswerFileOptions) Generates an unattended installation answer file, and writes it to the specified file.
Generate(TextWriter, AnswerFileOptions) Generates an unattended installation answer file, and writes it to the specified TextWriter.
Generate(XmlWriter, AnswerFileOptions) Generates an unattended installation answer file, and writes it to the specified XmlWriter.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also