diff --git a/Contrib/Modern UI/Readme.html b/Contrib/Modern UI/Readme.html index 3a862fa9..4c1470e5 100644 --- a/Contrib/Modern UI/Readme.html +++ b/Contrib/Modern UI/Readme.html @@ -554,11 +554,10 @@ to get the user input:

Reserve files

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
 
 ;--------------------------------