Qt Installer Framework is a Framework supported by the installation program released by Qt. You only need simple configuration to generate an installation file, and you can customize the installation process through the javascript script.
Directory structure
Config
Packages
Data
Meta
Configuration File
Config/config. xml
Packages/[product]/meta/package. xml
Packages/[product]/meta/[install. js]
Configuration File Parameters
Command
Binarycreator [options] target
Option
-T | -- template file Use file as installer template binary
If this parameter is not given, the template used
Defaults to installerbase.
-P | -- packages dir The directory containing the available packages.
Ults to the current working directory.
-E | -- exclude p1,..., pn Exclude the given packages.
-I | -- include p1,..., pn Include the given packages and their dependencies
From the repository.
-- Ignore-translations Don't use any translation
-- Ignore-invalid-packages Ignore all invalid packages instead of aborting.
-C | -- config file The file containing the installer configuration
-N | -- online-only Don't add any package into the installer
(For online only installers)
-F | -- offline-only Forces the installer to act as an offline installer,
I. e. never access online repositories
-R | -- resources r1,., rn include the given resource files into the binary
-V | -- verbose Verbose output
Generate the Installation File
Offline installation:
Binarycreator -- offline-only-c installer-config/config. xml-p packages-directory-t installerbase SDKInstaller
Online installation:
Binarycreator-c installer-config/config. xml-p packages-directory-e com. nokia. sdk. qt, com. nokia. qtcreator-t installerbase SDKInstaller