Skip to main content

命令:--installAddOns

功能:该命令使用文件夹或 *.installation-config 文件安装所有指定的附加组件。

称呼APInstaller.CLI

26. 选项

--location <location>

必需的

安装目录的完全限定路径

--folder <folder>

安装目录中的所有附加组件

与以下项互斥 --file

任何一个 --folder 或者 --file 必须指定。

--channel <channel>

必需的

设置频道名称

--file <file>

*.installation-config file 要安装哪些附加组件

与以下项互斥 --folder

任何一个 --folder 或者 --file 必须指定。



15. 示例

APInstaller.CLI --installAddOns --location "C:\Program Files\CODESYS 3.5.18.0\CODESYS\AdditionalFolders\Default" --channel "Releases" --file "C:\test.installation-config"

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