SetupCommand.Builder
public class SetupCommand.Builder :
CliWrapCommandBase<CommandResult>.BuilderBase<SetupCommand, SetupCommand.Builder>
1. Constructors
1.1. Builder(AbsolutePath)
public Builder(AbsolutePath setupExePath)
| Name | Type | Description |
|---|---|---|
setupExePath |
AbsolutePath |
2. Properties
2.1. ArgumentSuffix
protected override string ArgumentSuffix { get; }
2.2. LongArgumentPrefix
protected override string LongArgumentPrefix { get; }
2.3. SingleCharacterArgumentPrefix
protected override string SingleCharacterArgumentPrefix { get; }
3. Methods
3.1. Build()
public override SetupCommand Build()
Returns: SetupCommand
3.2. BuildInternal(CliWrap.Command)
protected override SetupCommand BuildInternal(CliWrap.Command cliCommand)
| Name | Type | Description |
|---|---|---|
cliCommand |
CliWrap.Command |
Returns: SetupCommand
3.3. NoReboot()
Prevents Windows Setup from rebooting after installation.
public SetupCommand.Builder NoReboot()
Returns: SetupCommand.Builder
3.4. Unattend(string)
Specifies the unattend answer file for unattended installation.
public SetupCommand.Builder Unattend(string path)
| Name | Type | Description |
|---|---|---|
path |
string |
Returns: SetupCommand.Builder