Skip to main content

Command: --installAddOnFromFile

Function: The command installs an add-on using the specified package file in the specified installation.

Call: APInstaller.CLI

Table 27. Options

--location <location>

Required

Fully qualified path to the installation directory

--sourcefile <source file>

Required

Fully qualified path to a package file

--interactive

If set, then dialogs for user input may be opened. By default, the commands are executed silently.

--updateMode

Indicates which type of updates should be retrieved: All, None, SafeUpdate, SecurityRelevant, SafeSecurityRelevant

--channel <channel>

Name of the setup channel



Example 16. Example

APInstaller.CLI --installAddOnFromFile --location "C:\Program Files\CODESYS 3.5.18.0\CODESYS\AdditionalFolders\Default" --sourcefile "C:\Temp test.package" --interactive --updateMode="All" --channel"LocalRepo"