Creating Offline Installers
Offline installers do not try to connect to an online repository at all during installation. To create an offline installer, use the offline-only
option of the binarycreator tool.
If you want to be able to update the installation later on, use the hybrid
option of the binarycreator tool. To create hybrid offline installers, repositories need to be defined in Configuration File and packages available in Package Directory.
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.
To create an offline installer in Windows, enter the following command:
<location-of-ifw>\binarycreator.exe --offline-only -t <location-of-ifw>\installerbase.exe -p <package_directory> -c <config_directory>\<config_file> <installer_name>
To create a hybrid offline installer in Windows, enter the following command:
<location-of-ifw>\binarycreator.exe --hybrid -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:
binarycreator.exe --offline-only -c installer-config -p installer-packes SDKInstaller.exe
© 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.