Skip to main content

命令:--installAddOnFromFile

函数:该命令使用指定安装中的指定软件包文件安装插件。

打电话: APInstaller.CLI

27. 选项

--location <location>

必填项

安装目录的完全限定路径

--sourcefile <source file>

必填项

包文件的完全限定路径

--interactive

如果设置,则可能会显示供用户输入的对话框。默认情况下,命令以静默方式执行。

--updateMode

指明应检索哪种类型的更新: AllNoneSafeUpdateSecurityRelevantSafeSecurityRelevant

--channel <channel>

设置频道的名称



16. 示例

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"