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:
parent
4c24a93e6a
commit
d2f44096cb
2 changed files with 4 additions and 12 deletions
|
@ -554,11 +554,10 @@ to get the user input:</p>
|
|||
<p class="header"><a name="ReserveFile">Reserve files</a></p>
|
||||
|
||||
<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
|
||||
functions are first in the data block, because this will make your installer
|
||||
start faster.</p>
|
||||
<p class="text">If these functions are not above any other File command,
|
||||
insert the ReserveFile commands or macros above other File commands:</p>
|
||||
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.</p>
|
||||
<p class="text">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:</p>
|
||||
<pre class="margin">
|
||||
ReserveFile "ioFile.ini" ;Your own InstallOptions INI files
|
||||
ReserveFile "${NSISDIR}\Contrib\Icons\modern-header.bmp" ;Your header bitmap
|
||||
|
|
|
@ -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
|
||||
|
||||
;--------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue