Skip to main content

命令:--canCreateInstall

函数:该命令检查是否可以使用指定版本创建安装。

打电话: APInstaller.CLI

12. 选项

--version <version>

必填项

Setup version in the format "<product> 64 3.5.18.1" or "<product> 3.5.18.1" (for 32 bit)

Product ID string which can be parsed by the assigned installation vendor. Example:

"CODESYS 64 3.5.18.1" 或者 "CODESYS 3.5.18.1" (用于 32 位)。

--channel <channel>

Name of the repository channel for the setup

Default setting: The setup channel configured in the installer settings

Mutually exclusive with --channelFile

--channelFile <channel file>

Fully qualified path to a file containing the channel information.

Mutually exclusive with --channel



1. Examples

APInstaller.CLI --canCreateInstallation --version "CODESYS 64 3.5.18.0"

APInstaller.CLI --canCreateInstallation --version "CODESYS 3.5.18.0" --channel "Releases"

APInstaller.CLI --canCreateInstallation --version "CODESYS 3.5.18.0" --channelFile "D:\channelFile.txt"