Added /plugin parameter to ReserveFile for our multi-arc. plugin subdirectories.

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6290 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2013-03-07 23:38:25 +00:00
parent dcddf977b2
commit 9b287fc648
11 changed files with 42 additions and 17 deletions

View file

@ -110,10 +110,12 @@ If no absolute path is specified the current folder will be used. The current fo
\S2{reservefile} ReserveFile
\c [/nonfatal] [/r] [/x file|wildcard [...]] file [file...]
\c [/nonfatal] [/r] [/x file|wildcard [...]] file [file...] | [/nonfatal] /plugin file.dll
Reserves a file in the data block for later use. Files are added to the compressed data block in the order they appear in the script. Functions, however, are not necessarily called in the order they appear in the script. Therefore, if you add a file in a function called early but put the function at the end of the script, all of the files added earlier will have to be decompressed to get to the required file. This process can take a long time if there a lot of files. \R{oninit}{.onInit} is one such function. It is called at the very beginning, before anything else appears. If you put it at the very end of the script, extract some files in it and have lots of files added before it, the installer might take a very long time to load. This is where this command comes useful, allowing you to speed up the loading process by including the file at the top of the data block instead of letting NSIS seek all the way down to the bottom of the \e{compressed} data block.
Use /plugin to reserve a plugin in $\{NSISDIR\}\\Plugins\\*.
See \R{file}{File} for more information about the parameters.
\S2{rmdir} RMDir

View file

@ -1,5 +1,15 @@
\A{history} Changelog and Release Notes
\H{v3.0a0} 3.0 Alpha 0
Released on ?, 2013
\S1{v3.0a0-cl} Changelog
\S2{} Minor Changes
\b Plugins in $\{NSISDIR\}\\Plugins have to be reserved with \c{ReserveFile /plugin}
\H{v2.46} 2.46
Released on December 6th, 2009