diff options
author | Patrick Storz <eduard.braun2@gmx.de> | 2020-01-04 17:18:18 (GMT) |
---|---|---|
committer | Patrick Storz <eduard.braun2@gmx.de> | 2020-01-04 17:18:18 (GMT) |
commit | 13567bd1861ab36cfcdd4aa1ffdc935c8fcf6cf7 (patch) | |
tree | b69a696700aa08f556fafcfeea212c9a4edc9eda /Modules/Internal | |
parent | b52962bd61c08a657d0a7e98cd93eefc94ba502b (diff) | |
download | CMake-13567bd1861ab36cfcdd4aa1ffdc935c8fcf6cf7.zip CMake-13567bd1861ab36cfcdd4aa1ffdc935c8fcf6cf7.tar.gz CMake-13567bd1861ab36cfcdd4aa1ffdc935c8fcf6cf7.tar.bz2 |
CPack/NSIS: Avoid "setup loading" screen by fixing template order
NSIS packages files (including those required by the installer itslef)
in the order in which they're mentioned in the .nsi file.
If solid compression is used, the installer might need to extract
large parts of the archive to be able to even start the setup program
("Please wait while setup is loading...").
Avoid this by moving component installation towards the end of the
template file.
Diffstat (limited to 'Modules/Internal')
-rw-r--r-- | Modules/Internal/CPack/NSIS.template.in | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/Modules/Internal/CPack/NSIS.template.in b/Modules/Internal/CPack/NSIS.template.in index 23bb0018..7d6a755 100644 --- a/Modules/Internal/CPack/NSIS.template.in +++ b/Modules/Internal/CPack/NSIS.template.in @@ -524,14 +524,6 @@ FunctionEnd !endif ;-------------------------------- -; Installation types -@CPACK_NSIS_INSTALLATION_TYPES@ - -;-------------------------------- -; Component sections -@CPACK_NSIS_COMPONENT_SECTIONS@ - -;-------------------------------- ; Define some macro setting for the gui @CPACK_NSIS_INSTALLER_MUI_ICON_CODE@ @CPACK_NSIS_INSTALLER_ICON_CODE@ @@ -621,7 +613,6 @@ FunctionEnd !insertmacro MUI_LANGUAGE "Ukrainian" !insertmacro MUI_LANGUAGE "Welsh" - ;-------------------------------- ;Reserve Files @@ -633,6 +624,14 @@ FunctionEnd !insertmacro MUI_RESERVEFILE_INSTALLOPTIONS ;-------------------------------- +; Installation types +@CPACK_NSIS_INSTALLATION_TYPES@ + +;-------------------------------- +; Component sections +@CPACK_NSIS_COMPONENT_SECTIONS@ + +;-------------------------------- ;Installer Sections Section "-Core installation" |