Skip to main content

コマンド: --downloadAddOn

関数: コマンドは、指定されたアドオンを指定されたターゲット ディレクトリにダウンロードします。

電話: APInstaller.CLI

20. オプション

--targetDirectory <target directory>

必須

ダウンロードが保存されるターゲットディレクトリ

--location <location>

インストールディレクトリの完全修飾パス

設定されている場合、インストールのすべてのアドオンがターゲット ディレクトリに保存されます。指定されたパッケージ GUID は無視されます。

--packageIds <packages>

パッケージ GUID とバージョン タプルの JSON シリアル化リスト

--channel <channel>

セットアップ チャネルの名前。

このオプションを使用しない場合は、指定されている限りインストールのアドオン チャネルが使用されます。デフォルト設定: 「リリース」



9.

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"