Skip to main content

Command: --createFixedInstallation

Function: The command creates a fixed installation which corresponds exactly to the specified version and plug-ins and does not check for updates.

Call: APInstaller.CLI

Table 13. Options

--version <version>

Required

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

--plugins <plugins>

A json serialized, comma-separated list of plug-in GUIDs and version tuples

--pluginFile <plugin file>

Fully qualified path to a file containing a json-serialized list of plug-in GUIDs and version tuples

--destinationFolder <destination folder>

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

--installationName <installation name>

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

--startArgs <start args>

Arguments which should be used to start the installation

--bit <bit>

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

--interactive

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

By default, the commands are executed silently.

--installReferences

If set, then all references of the specified plug-ins are installed

--updateMode <update mode>

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

--updatePackages

If set, then compatible updates are installed.

--packageFile <package file path>

Path of a file containing the json formatted list of packages to be installed                                       

Mutually exclusive with --packages

--packages <json formatted list>

json formatted list of packages to be installed

Mutually exclusive with --packageFile

--addOnChannel <channel name>

Name of the add-on channel to be used.

Overwrites --channel if this is set.

--setupChannel <channel name>

Name of the setup channel to be used.

Overwrites --channel if this is set.



Example 2. Examples

APInstaller.CLI --createFixedInstallation --version "CODESYS 64 3.5.18.0" --interactive --plugins "[]" --channel "Releases"

APInstaller.CLI --createFixedInstallation --version "CODESYS 64 3.5.18.0" --interactive  --plugins "[{\"Guid\":\"2b7e9a81-f3f3-4ad2-96d5-35d1af40c03c\",\"Version\":\"1.2.3.4\"}]"

APInstaller.CLI --createFixedInstallation --version "CODESYS 64 3.5.18.0" --pluginFile "C:\Temp\plugins.json"  --destinationFolder "C:\Program Files\CODESYS 64 3.5.18.0" --installReferences

APInstaller.CLI --createFixedInstallation --version "CODESYS 64 3.5.18.0" --interactive --plugins "[]" --updatePackages     --addOnChannel "Releases" --setupChannel "Local" --updateMode="None"

APInstaller.CLI.exe --createFixedInstallation --version="CODESYS V3.5 SP19"  --packages "[{\"Key\":{\"Id2\":null,\"Id\":\"D1BA94E0-9823-4A49-9CE6-7B424A652307\"},\"Version":\"4.3.0.0\"}]" --channel "Releases" --interactive --updateMode="All"

APInstaller.CLI.exe --createFixedInstallation --version "CODESYS V3.5 SP19" --packages "[{\"Key\":{\"Id2\":null,\"Id\":\"D1BA94E0-9823-4A49-9CE6-7B424A652307\"},\"Version\":\"4.3.0.0\"}]" --channel "Releases" --interactive --updateMode="All"