From d2f44096cb1d8a3538289049c13cf6bd6fd716d9 Mon Sep 17 00:00:00 2001 From: joostverburg Date: Tue, 12 Aug 2003 14:25:06 +0000 Subject: [PATCH] reserve files git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2802 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/Modern UI/Readme.html | 9 ++++----- Examples/makensis.nsi | 7 ------- 2 files changed, 4 insertions(+), 12 deletions(-) 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
 
 ;--------------------------------