Skip to main content

Command: --createInstallationFromFile

Function: The command creates a new installation.

Call: APInstaller.CLI

Table 15. Options

--sourcefile <source file>

Required

Fully qualified path to a setup file

--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 opened. By default, the commands are executed silently.

--noadditionalfolder

If set, then no additional directory is created for the installation.

Must be set for non-modular installations (3.5 SP16 and older)



Example 4. Examples

APInstaller.CLI --createInstallationFromFile --sourcefile "C:\Temp\CODESYS 3.5.18.0.exe" --interactive

APInstaller.CLI --createInstallationFromFile --sourcefile "C:\Temp\CODESYS 3.5.16.0.exe" --destinationFolder "C:\Program Files\CODESYS 3.5.16.0" --noadditionalfolder