reserve files

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2802 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
joostverburg 2003-08-12 14:25:06 +00:00
parent 4c24a93e6a
commit d2f44096cb
2 changed files with 4 additions and 12 deletions

View file

@ -554,11 +554,10 @@ to get the user input:</p>
<p class="header"><a name="ReserveFile">Reserve files</a></p> <p class="header"><a name="ReserveFile">Reserve files</a></p>
<p class="text">If you are using BZIP2 compression, it's important that <p class="text">If you are using BZIP2 compression, it's important that
files which are being extracted in the .onInit function or in Page files which are being extracted in init- or page functions functions are first in
functions are first in the data block, because this will make your installer the data block, because this will make your installer start faster.</p>
start faster.</p> <p class="text">If there are File commands in your script above Modern UI settings
<p class="text">If these functions are not above any other File command, or above your own init- or page functions, you have to reserve files:</p>
insert the ReserveFile commands or macros above other File commands:</p>
<pre class="margin"> <pre class="margin">
ReserveFile "ioFile.ini" ;Your own InstallOptions INI files ReserveFile "ioFile.ini" ;Your own InstallOptions INI files
ReserveFile "${NSISDIR}\Contrib\Icons\modern-header.bmp" ;Your header bitmap ReserveFile "${NSISDIR}\Contrib\Icons\modern-header.bmp" ;Your header bitmap

View file

@ -70,13 +70,6 @@ InstallDirRegKey HKLM SOFTWARE\NSIS ""
!insertmacro MUI_LANGUAGE "English" !insertmacro MUI_LANGUAGE "English"
;--------------------------------
;Reserve Files
!insertmacro MUI_RESERVEFILE_INSTALLOPTIONS
!insertmacro MUI_RESERVEFILE_SPECIALINI
!insertmacro MUI_RESERVEFILE_SPECIALBITMAP
!endif !endif
;-------------------------------- ;--------------------------------