Skip to main content

命令:--getAddon

函数: 如果指定插件安装在指定安装中,则返回有关该插件的信息

打电话: APInstaller.CLI

21. 选项

--location <location>

必填项

安装目录的完全限定路径

--id <id>

必填项

ID (Guid) or ID2 (String). Individually or both; separated by a semicolon. Example: "<Guid>;<Id2>"

--outputfile <output file>

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

如果未指定此选项,则结果将写入控制台。



10. Examples

APInstaller.CLI --getAddOn --location "C:\Program Files\CODESYS 3.5.18.0\CODESYS\AdditionalFolders\Default" --id "test.package.id"

APInstaller.CLI --getAddOn --location "C:\Program Files\CODESYS 3.5.18.0\CODESYS\AdditionalFolders\Default" --id "f22b01fc-ccbb-40ba-97f0-35d2648dc17e" --outputfile="C:\outFile.txt"