From d2f44096cb1d8a3538289049c13cf6bd6fd716d9 Mon Sep 17 00:00:00 2001
From: joostverburg
If you are using BZIP2 compression, it's important that -files which are being extracted in the .onInit function or in Page -functions are first in the data block, because this will make your installer -start faster.
-If these functions are not above any other File command, -insert the ReserveFile commands or macros above other File commands:
+files which are being extracted in init- or page functions functions are first in +the data block, because this will make your installer start faster. +If there are File commands in your script above Modern UI settings +or above your own init- or page functions, you have to reserve files:
ReserveFile "ioFile.ini" ;Your own InstallOptions INI files ReserveFile "${NSISDIR}\Contrib\Icons\modern-header.bmp" ;Your header bitmap diff --git a/Examples/makensis.nsi b/Examples/makensis.nsi index 92a6c04e..0281ec09 100644 --- a/Examples/makensis.nsi +++ b/Examples/makensis.nsi @@ -70,13 +70,6 @@ InstallDirRegKey HKLM SOFTWARE\NSIS "" !insertmacro MUI_LANGUAGE "English" - ;-------------------------------- - ;Reserve Files - - !insertmacro MUI_RESERVEFILE_INSTALLOPTIONS - !insertmacro MUI_RESERVEFILE_SPECIALINI - !insertmacro MUI_RESERVEFILE_SPECIALBITMAP - !endif ;--------------------------------