Skip to main content

命令:--createInstallation

函数:该命令根据命令行选项创建新的安装。

打电话: APInstaller.CLI

14. 选项

--channel <channel>

设置频道的名称

默认值:安装程序设置中配置的安装频道

与互不相容 --channelFile

--channelFile <channel file>

包含频道信息的文件的完全限定路径

与互不相容 --channel

--productID <product id>

产品 ID 可由供应商解析以进行自定义安装。

--product <product>

待安装的产品

只有 CODESYS 目前可在此处获得。

--generation<generation>

生成要安装的安装程序(示例: 3.5.16.0 或者 2021)

--bit <bit>

描述设置架构的值(32 或 64)

--patch <patch>

要安装的版本的补丁

--build <build>

要安装的版本的编译信息

--hotfix <hotfix>

要安装的版本的修补程序信息

--installationName <installation name>

安装名称(如果安装是交互式的,则为可选)

--destinationFolder <destination folder>

要安装的安装目录的完全限定路径(在交互式安装中是可选的)

--interactive

如果设置,则可能会显示供用户输入的对话框。

默认情况下,命令以静默方式执行。

--updateMode <update mode>

指明应检索哪种类型的更新: AllNoneSafeUpdateSecurityRelevantSafeSecurityRelevant



3. 例子

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