applied patch #1372048 - added /NONFATAL switch to !include statement
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4437 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
90a7765cd6
commit
b1be974447
4 changed files with 38 additions and 6 deletions
|
@ -6,14 +6,15 @@ These commands are similar to the C preprocessor in terms of purpose and functio
|
|||
|
||||
\S1{include} !include
|
||||
|
||||
\c file
|
||||
\c [/NONFATAL] file
|
||||
|
||||
This command will include 'file' as if it was part of the original script. Note that if a file is included in another directory, the current directory is still where the script was compiled from (not where the included file resides). If the compiler can't find the file it will look for it in every include directory. See \R{addincludedir}{!addincludedir} for more information.
|
||||
This command will include 'file' as if it was part of the original script. Note that if a file is included in another directory, the current directory is still where the script was compiled from (not where the included file resides). If the compiler can't find the file it will look for it in every include directory. See \R{addincludedir}{!addincludedir} for more information. If the /nonfatal switch is used and no files are found, a warning will be issued instead of an error.
|
||||
|
||||
\c !include WinMessages.nsh
|
||||
\c !include Library.nsh
|
||||
\c !include MyConfig.nsh
|
||||
\c !include C:\MyConfig.nsi
|
||||
\c !include ..\MyConfig.nsh
|
||||
\c !include /NONFATAL file_that_may_exist_or_not.nsh
|
||||
|
||||
\S1{addincludedir} !addincludedir
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue