aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@petroules.com>2013-10-31 15:59:15 -0400
committerJoerg Bornemann <joerg.bornemann@digia.com>2013-11-04 13:57:52 +0100
commitf60369a9cc94f934c7814fbd9fa90155434c5578 (patch)
tree1b9778813771a32cbeb0b5de9e0f4b1213df8112 /doc
parent2ce35b8d9d3f33be3039956812ac7b25b459f83f (diff)
Improve the way that the NSIS installation is found.
Now that we have registry access, we search the registry for the known key and then determine the NSIS installation path and version number from that. The latter is now available as a set of properties. This searching code is also now not broken for 32-bit Windows... Task-number: QBS-414 Change-Id: I93a0e35084d11b3b0664bfa67bea29eb72a96380 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/reference/modules/nsis-module.qdoc55
1 files changed, 55 insertions, 0 deletions
diff --git a/doc/reference/modules/nsis-module.qdoc b/doc/reference/modules/nsis-module.qdoc
index 8df454378..745207239 100644
--- a/doc/reference/modules/nsis-module.qdoc
+++ b/doc/reference/modules/nsis-module.qdoc
@@ -118,6 +118,61 @@
Compression algorithm used to compress files and data in the installer.
Setting this property overrides any SetCompressor command in the NSI file being compiled.
+ \section2 version
+
+ \table
+ \row \li \b{Type:} \li \c{string}
+ \row \li \b{Default:} \li \c{undefined}
+ \endtable
+
+ The NSIS version. Consists of four numbers separated by dots, for instance "2.46.0.0".
+
+ \section2 versionMajor
+
+ \table
+ \row \li \b{Type:} \li \c{int}
+ \row \li \b{Default:} \li \c{versionParts[0]}
+ \endtable
+
+ The NSIS major version.
+
+ \section2 versionMinor
+
+ \table
+ \row \li \b{Type:} \li \c{int}
+ \row \li \b{Default:} \li \c{versionParts[1]}
+ \endtable
+
+ The NSIS minor version.
+
+ \section2 versionParts
+
+ \table
+ \row \li \b{Type:} \li \c{list}
+ \row \li \b{Default:} \li \c{empty}
+ \endtable
+
+ The NSIS version as a list. For instance, NSIS version 2.46.0.0 would correspond to a value of
+ \c[2, 46, 0, 0].
+
+ \section2 versionPatch
+
+ \table
+ \row \li \b{Type:} \li \c{int}
+ \row \li \b{Default:} \li \c{versionParts[2]}
+ \endtable
+
+ The NSIS patch level.
+
+ \section2 versionBuild
+
+ \table
+ \row \li \b{Type:} \li \c{int}
+ \row \li \b{Default:} \li \c{versionParts[3]}
+ \endtable
+
+ The fourth NSIS version number component.
+
\section2 toolchainInstallPath
\table