added small usage examples

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3703 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2004-10-10 18:41:43 +00:00
parent 07eb9b6425
commit 38b693f19a
24 changed files with 618 additions and 23 deletions

View file

@ -1,5 +1,7 @@
\C{usage} MakeNSIS Usage
\H{usagereference} Reference
NSIS installers are generated by using the 'MakeNSIS' program to compile a NSIS script (.NSI) into an installer executable.
The NSIS development kit installer sets up your computer so that you can compile a .nsi file by simply right-clicking on it in explorer, and selecting 'compile'.
@ -30,4 +32,22 @@ If you want to use MakeNSIS on the command line, the syntax of the makensis comm
\b Specifying a dash (-) for the script name will tell Makensis to use the standard input as a source.
\b If multiple scripts are specified, they are treated as one concatenated script.
\b If multiple scripts are specified, they are treated as one concatenated script.
\H{usageexamples} Usage Examples
Basic usage:
\c makensis.exe myscript.nsi
Quiet mode:
\c makensis.exe /V1 myscript.nsi
Force compressor:
\c makensis.exe /X"SetCompressor /FINAL lzma" myscript.nsi
Change script behavior:
\c makensis.exe /DUSE_UPX /DVERSION=1.337 /DNO_IMAGES myscript.nsi