Skip to main content

Comando: --createFixedInstallation

Función: El comando crea una instalación fija que corresponde exactamente a la versión y los complementos especificados y no comprueba si hay actualizaciones.

Llamar: APInstaller.CLI

tabla 13. Opciones

--version <version>

Required

Versión de configuración que puede analizar el proveedor de instalación asignado. Ejemplo: «CODESYS 64 3.5.18.1" o «CODESYS 3.5.18.1" (

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

By default, the commands are executed silently.

--installReferences

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

--updateMode <update mode>

Indica qué tipo de actualizaciones se deben recuperar: All, None, SafeUpdate, SecurityRelevant, SafeSecurityRelevant

--updatePackages

Si se establece, se instalan las actualizaciones compatibles.

--packageFile <package file path>

Ruta de un archivo que contiene la lista de paquetes con formato JSON que se van a instalar

Mutuamente excluyente con --packages

--packages <json formatted list>

Lista con formato JSON de paquetes que se van a instalar

Mutuamente excluyente con --packageFile

--addOnChannel <channel name>

Nombre del canal adicional que se va a utilizar.

Sobrescribe --channel si está configurado.

--setupChannel <channel name>

Nombre del canal de configuración que se va a utilizar.

Sobrescribe --channel si está configurado.



ejemplo 2. Ejemplos

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"