Skip to main content

Command: --discoverSetupUpdates

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

Call: APInstaller.CLI

Table 19. Options

--location <location>

Fully qualified path to the installation directory

Required

--channel <channel>

Name of the setup channel

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 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

Force the execution of a command



Example 8. Examples

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

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

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

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