summaryrefslogtreecommitdiffstats
path: root/doc/installerfw.qdoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/installerfw.qdoc')
-rw-r--r--doc/installerfw.qdoc69
1 files changed, 57 insertions, 12 deletions
diff --git a/doc/installerfw.qdoc b/doc/installerfw.qdoc
index fbcab3cd4..355021862 100644
--- a/doc/installerfw.qdoc
+++ b/doc/installerfw.qdoc
@@ -182,7 +182,15 @@
\row
\o Icon
\o Filename for a custom installer icon. The actual file is looked up by attaching
- a '.icns' (Mac OS X), '.ico' (Windows) or '.png' (Unix) suffix.
+ a '.icns' (Mac OS X), '.ico' (Windows) or '.png' (Unix) suffix. Deprecated,
+ use InstallerApplicationIcon and / or InstallerWindowIcon instead.
+ \row
+ \o InstallerApplicationIcon
+ \o Filename for a custom installer icon. The actual file is looked up by attaching
+ a '.icns' (Mac OS X), '.ico' (Windows). No functionality on Unix.
+ \row
+ \o InstallerWindowIcon
+ \o Filename for a custom window icon in PNG format for the Installer application.
\row
\o Logo
\o Filename for a logo used as \a QWizard::LogoPixmap.
@@ -190,6 +198,9 @@
\o Watermark
\o Filename for a watermark used as \a QWizard::WatermarkPixmap.
\row
+ \o Banner
+ \o Filename for a banner used as \a QWizard::BannerPixmap.
+ \row
\o Background
\o Filename for an image used as \a QWizard::BackgroundPixmap.
\row
@@ -197,6 +208,9 @@
\o Command executed after the installer is done if the user accepts
the action.
\row
+ \o RunProgramArguments
+ \o Arguments passed to the program specified in RunProgram.
+ \row
\o RunProgramDescription
\o Text shown next to the check box for running the program after
the installation. Defaults to \gui {Run <Name>}.
@@ -246,10 +260,6 @@
\row
\o TargetConfigurationFile
\o Filename for the configuration file on the target. Default is components.xml.
- \row
- \o Pages
- \o Custom strings for labels in the installer pages. Deprecated,
- see \l{Translating Pages} instead.
\endtable
*/
@@ -772,12 +782,12 @@
repogen.exe -p <package_directory> -c <config_directory>\<config_file> repository <repository_directory>
- For example, to create a repository that contains only com.nokia.sdk.qt and
- com.nokia.sdk.qtcreator, enter the following
+ For example, to create a repository that contains only org.qt-project.sdk.qt and
+ org.qt-project.sdk.qtcreator, enter the following
command:
\code
- repogen.exe -p packages -c installer-config\config.xml -i com.nokia.sdk.qt,com.nokia.sdk.qtcreator repository
+ repogen.exe -p packages -c installer-config\config.xml -i org.qt-project.sdk.qt,org.qt-project.sdk.qtcreator repository
\endcode
When the repository has been created, upload it to a web server. You must
@@ -834,12 +844,12 @@
\endcode
For example, enter the following command to create an installer binary
- called SDKInstaller.exe that will not contain data for com.nokia.sdk.qt and
- com.nokia.qtcreator, because those packages are downloaded from a remote
+ called SDKInstaller.exe that will not contain data for org.qt-project.sdk.qt and
+ org.qt-project.qtcreator, because those packages are downloaded from a remote
repository:
\code
- binarycreator.exe -p installer-packages -c installer-config\config.xml -e com.nokia.sdk.qt,com.nokia.qtcreator SDKInstaller.exe
+ binarycreator.exe -p installer-packages -c installer-config\config.xml -e org.qt-project.sdk.qt,org.qt-project.qtcreator SDKInstaller.exe
\endcode
\section1 Reducing Installer Size
@@ -886,7 +896,7 @@
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
- com.nokia.sdk and their dependencies:
+ org.qt-project.sdk and their dependencies:
\code
binarycreator.exe --offline-only -c installer-config -p installer-packes SDKInstaller.exe
@@ -976,6 +986,41 @@
then Updates.xml. The package names include version numbers, and therefore,
end users receive old packages until the new ones are fully uploaded.
+ \section1 Changing Repositories
+
+ To have the current update repository point to other repositories, edit the
+ Updates.xml file in the current repository. You can add, replace, or remove
+ repositories.
+
+ \section2 Adding Repositories
+ To update a repository, add the following code to Updates.xml:
+
+ \code
+ <RepositoryUpdate>
+ <Repository action="add" url="http://www.example.com/repository" name="user" password="password"
+ displayname="Example Repository" />
+ </RepositoryUpdate>
+ \endcode
+
+ \section2 Removing Repositories
+ To remove a repository, add the following code to Updates.xml:
+
+ \code
+ <RepositoryUpdate>
+ <Repository action="remove" url="http://www.example.com/repository" />
+ </RepositoryUpdate>
+ \endcode
+
+ \section2 Replacing repositories
+ To replace one repository with another, add the following code to Updates.xml:
+
+ \code
+ <RepositoryUpdate>
+ <Repository action="replace" oldurl="http://www.example.com/repository"
+ newurl="http://www.example.com/newrepository" name="user" password="password"
+ displayname="New Example Repository" />
+ </RepositoryUpdate>
+ \endcode
*/
/*!