ReserveFile and /nonfatal added.
License is the last appendix again. git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1508 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
9308be84c2
commit
60306450fc
2 changed files with 12 additions and 2 deletions
|
@ -10,7 +10,7 @@ Delete file (which can be a file or wildcard, but should be specified with a ful
|
|||
|
||||
\H{file} File
|
||||
|
||||
\c [/a] ([/r] file|wildcard [...]) | (/oname=file.dat infile.dat)
|
||||
\c [/nonfatal] ([/a] ([/r] (file|wildcard) [...] | /oname=file.dat infile.dat)
|
||||
|
||||
Adds file(s) to be extracted to the current output path ($OUTDIR).
|
||||
|
||||
|
@ -26,6 +26,8 @@ Adds file(s) to be extracted to the current output path ($OUTDIR).
|
|||
|
||||
\b The File command sets the error flag if overwrite mode is set to 'try' and the file could not be overwritten, or if the overwrite mode is set to 'on' and the file could not be overwritten and the user selects ignore.
|
||||
|
||||
\n If the /nonfatal switch is used, a warning will be issued if no files found instead of an error.
|
||||
|
||||
\H{exec} Exec
|
||||
|
||||
\c command
|
||||
|
@ -56,6 +58,14 @@ Rename source_file to dest_file. Functions just like the Win32 API MoveFile, whi
|
|||
|
||||
Remove the specified directory (which should be a full path). Without /r, the directory will only be removed if it is completely empty. If /r is specified, the dictory will be removed recursively, so all directories and files in the specified directory will be removed. The error flag is set if the directory cannot be removed.
|
||||
|
||||
\H{reservefile} ReserveFile
|
||||
|
||||
\c [/nonfatal] [/r] file [file...]
|
||||
|
||||
Reserves a file in the data block for later use. As files are added in the order they are used in the script files that are used in the .onInit function, for example, might be added last and slow the loading of the installer. 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.
|
||||
|
||||
See File (\K{file}) for more information about the parameters.
|
||||
|
||||
\H{setoutpath} SetOutPath
|
||||
|
||||
\c outpath
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
bin\halibut.exe config.but intro.but usage.but script.but attributes.but compilerflags.but sections.but basic.but registry.but generalpurpose.but flowcontrol.but file.but misc.but string.but stack.but int.but reboot.but uninstall.but log.but sec.but functions.but labels.but var.but usection.but callback.but compiler.but defines.but plugin.but history.but license.but modernui.but usefulfunc.but
|
||||
bin\halibut.exe config.but intro.but usage.but script.but attributes.but compilerflags.but sections.but basic.but registry.but generalpurpose.but flowcontrol.but file.but misc.but string.but stack.but int.but reboot.but uninstall.but log.but sec.but functions.but labels.but var.but usection.but callback.but compiler.but defines.but plugin.but history.but modernui.but usefulfunc.but license.but
|
||||
@del *.hlp
|
||||
@del *.cnt
|
||||
@copy Contents.html index.html
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue