Skip to main content

Command: --discoverAddOnUpdates

Function: The command finds all updates for installed add-ons in the specified channel. This function is only possible once a day, unless the "--force" option is used.

Call: APInstaller.CLI

Table 18. Options

--location <location>

Required

Fully qualified path to the installation directory

--channel <channel>

String containing the channel information

Mutually exclusive with --channelFile

--channelFile <channel file>

Fully qualified path to a file containing the channel information

Mutually exclusive with --channel

--outputfile <output file>

Fully qualified path to a file where the result of the command is to be written.

If the option is not specified, then the result is written to the console.

--updateMode <update mode>

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

--force

Forces the execution of a command



Example 7. Examples

APInstaller.CLI --discoverAddOnUpdates --location "C:\Program Files\CODESYS 3.5.18.0\CODESYS\AdditionalFolders\Default"

APInstaller.CLI --discoverAddOnUpdates --location "C:\Program Files\CODESYS 3.5.18.0\CODESYS\AdditionalFolders\Default" --channel "Releases"

APInstaller.CLI --discoverAddOnUpdates --location "C:\Program Files\CODESYS 3.5.18.0\CODESYS\AdditionalFolders\Default" --channelFile "C:\channel.txt"

APInstaller.CLI --discoverAddOnUpdates --location "C:\Program Files\CODESYS 3.5.18.0\CODESYS\AdditionalFolders\Default" --updateMode "All" --force