Note: This is the migration API reference for FAKE 5. The new (modularized) API documentation can be found here. If the API is already migrated you can check here if exists in a module. More information regarding the migration can be found here

ChocoInstallParams

The choco install parameter type.

Record Fields

Record FieldDescription
AdditionalArgs
Signature: string

A character string containing additional arguments to give to choco.

ForceX86
Signature: bool

Force x86 (32bit) installation on 64 bit systems. Default false. Equivalent to the --forcex86 option.

InstallArgs
Signature: string

Install Arguments to pass to the native installer in the package. Equivalent to the --installargs <args> option.

NonInteractive
Signature: bool

Do not prompt for user input or confirmations. Default true. Equivalent to the -y option.

OverrideArgs
Signature: bool

Should install arguments be used exclusively without appending to current package passed arguments? Default false. Equivalent to the --overrideargs option.

PackageParameters
Signature: string

Parameters to pass to the package. Equivalent to the --params <params> option.

Password
Signature: string

Password - the user's password to the source. Equivalent to the --password <password> option.

Prerelease
Signature: bool

Include prerelease. Default false. Equivalent to the --pre option.

SkipPowershell
Signature: bool

Skip Powershell - Do not run chocolateyInstall.ps1. Default false. Equivalent to the --skippowershell option.

Source
Signature: string

Equivalent to the --source <source> option.

Timeout
Signature: TimeSpan

The choco execution timeout.

ToolPath
Signature: string

The location of the choco executable. Automatically found if null or empty.

User
Signature: string

User - used with authenticated feeds. Equivalent to the --user <user> option.

Version
Signature: string

Version of the package Equivalent to the --version <version> option.