Answer File GeneratorGenerate(String, Answer File Options) Method
Generates an unattended installation answer file, and writes it to the specified file.
Definition
Namespace: Ookii.AnswerFile
Assembly: Ookii.AnswerFile (in Ookii.AnswerFile.dll) Version: 2.3.0+3ec3ef5391bcdf8d84abe65b91ab672cac4934d3
Assembly: Ookii.AnswerFile (in Ookii.AnswerFile.dll) Version: 2.3.0+3ec3ef5391bcdf8d84abe65b91ab672cac4934d3
C#
public static void Generate(
string outputPath,
AnswerFileOptions options
)VB
Public Shared Sub Generate (
outputPath As String,
options As AnswerFileOptions
)C++
public:
static void Generate(
String^ outputPath,
AnswerFileOptions^ options
)F#
static member Generate :
outputPath : string *
options : AnswerFileOptions -> unit Parameters
- outputPath String
- The path of the file to write to.
- options AnswerFileOptions
- The options for the unattended installation.
Exceptions
| ArgumentNullException | outputPath or options is . |