Skip to main content

Command: --createInstallation

Function: The command creates a new installation according to the command-line options.

Call: APInstaller.CLI

Table 14. Options

--channel <channel>

Name of the setup channel

Default value: 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

--productID <product id>

Product ID which can be parsed by a vendor for a customized installation.

--product <product>

Product to be installed

Only CODESYS is currently available here.

--generation<generation>

Generation of the installation to be installed (example: 3.5.16.0 or 2021)

--bit <bit>

Value which describes the architecture of the setup (either 32 or 64)

--patch <patch>

Patch of the version to be installed

--build <build>

Build information of the version to be installed

--hotfix <hotfix>

Hotfix information of the version to be installed

--installationName <installation name>

Name of the installation (optional if the setup is interactive)

--destinationFolder <destination folder>

Fully qualified path to the installation directory of the installation to be installed (optional in an interactive installation)

--interactive

If set, then dialogs for user input may be displayed.

By default, the commands are executed silently.

--updateMode <update mode>

Indicates which type of updates should be retrieved: All, None, SafeUpdate, SecurityRelevant, SafeSecurityRelevant



Example 3. Examples

APInstaller.CLI --createInstallation --productId "CODESYS 64 3.5.18.0" --interactive

APInstaller.CLI --createInstallation --productId "CODESYS 64 3.5.18.0" --destinationFolder "C:\Program Files\CODESYS 64 3.5.18.0" --installationName "Default"

APInstaller.CLI --createInstallation --product "CODESYS" --generation "3.5.18" --bit 64 --patch 0 --hotfix 0 --build 0 --interactive