Qt Installer Framework创建离线安装程序

Creating Offline Installers

创建离线安装程序

Offline installers do not try to connect to an online repository at all during installation. However, the metadata configuration (config.xml) enables users to add and update components online.

脱机安装程序在安装过程中根本不会尝试连接到联机存储库。但是,元数据配置(config.xml)使用户能够在线添加和更新组件。

Offline installers are especially useful in cases where a corporate firewall does not allow end users to connect to web servers. The network administrator can set up a local update service within the network.

离线安装程序在公司防火墙不允许最终用户连接到web服务器的情况下特别有用。网络管理员可以在网络内设置本地更新服务。

To create offline installers, use the --offline-only option of the binarycreator tool.

要创建脱机安装程序,请使用binarycreator工具的--offline-only选项。

To create an offline installer in Windows, enter the following command:

要在Windows中创建脱机安装程序,请输入以下命令:

<location-of-ifw>\binarycreator.exe --offline-only -t <location-of-ifw>\installerbase.exe -p <package_directory> -c <config_directory>\<config_file> <installer_name>

Some options have default values, and therefore, you can omit them. For example, enter the following command to create an installer binary called SDKInstaller.exe that contains the packages identified by org.qt-project.sdk and their dependencies:

某些选项具有默认值,因此可以省略它们。例如,输入以下命令以创建名为SDKInstaller.exe的安装程序二进制文件,其中包含由org.qt-project.sdk标识的包及其依赖关系:

binarycreator.exe --offline-only -c installer-config -p installer-packes SDKInstaller.exe

Creating InstallersCreating Online Installers

© 2021 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. The Qt Company, Qt and their respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值