-
Notifications
You must be signed in to change notification settings - Fork 13
NSIS Intaller
-
Download latest version (3.0a2) here http://nsis.sourceforge.net/Download
-
Since we encountered problems about max_str_length == 1024 and PATH Environment:
http://nsis.sourceforge.net/Environmental_Variables:_append,_prepend,_and_remove_entries
also download the Large string special build here:
http://nsis.sourceforge.net/Special_Builds -
The special build is only a zip file containing makensis.exe and some extra files, so simply extract them and overwrtie the installed files. the special build is now able to manipulate strings of length 8192.
PLEASE make shure you test strings read from registry likeStrCmp $str ""
and prevent writing strings to registry which could exceed this maximum lenght.
-
The core project file (core.pro) now contains extra install targets to copy the relevant QtDLLs (automatically choose current Qt/ToolKit version and Debug or Release) and the current NSIS installer build script (installer.nsi) into the output directory. So make sure the relevant deploy steps of all the projects are activated by adding a make-step with argument
install
to each of those projects settings. -
The TestCases project now get an extra deploy step with the following settings:
- command:
C:\Program Files\NSIS\makensis.exe
(or your custom path to makensis.exe) - arguments:
/V4 installer.nsi
(/V4 for full verbosity on compiling and the script) - working directory:
%{buildDir}\..\..\output\win32debug
(a relative or absolute path that points to the target output directory (outside the bin subdir).)
Run(+Build&Deploy) should now build the the complete TestCases project and packs selectively relevant binaries into the installer executable.