Skip to main content

Command: --canCreateInstallation

Function: The command checks if an installation can be created with the specified version.

Call: APInstaller.CLI

Table 12. Options

--version <version>

Required

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" or "CODESYS 3.5.18.1" (for 32 bit).

--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



Example 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"