Skip to main content

Command: --downloadAddOn

Function: The command downloads the specified add-ons to the specified target directory.

Call: APInstaller.CLI

Table 20. Options

--targetDirectory <target directory>

Required

Target directory where the download is stored

--location <location>

Fully qualified path of the installation directory

If set, then all add-ons of the installation are stored in the target directory. Specified package Guids are ignored.

--packageIds <packages>

json serialized list of package GUID and version tuples

--channel <channel>

Name of the setup channel.

If this option is not used, then the add-on channel of the installation is used as long as it has been specified. Default setting: "Releases"



Example 9. Examples

APInstaller.CLI.exe --downloadAddOn --location "C:\Program Files\CODESYS 3.5.18.0\CODESYS\AdditionalFolders\Default" --targetDirectory="C:\temp\sandbox"

APInstaller.CLI.exe --downloadAddOn --packageIds "[{\"Guid\":\"2b7e9a81-f3f3-4ad2-96d5-35d1af40c03c\",\"Version\":\"1.2.3.4\"}]" --targetDirectory="C:\temp\sandbox" --channel="CustomRepo"