fixed little typos and updated variables section
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2140 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
7789543c62
commit
b7a0bbabcc
4 changed files with 9 additions and 6 deletions
|
@ -2,6 +2,8 @@
|
|||
|
||||
\S1{var1} Modifiable Variables Used in Instructions
|
||||
|
||||
Note: All Variables provided by NSIS are case sensitive.
|
||||
|
||||
\e{$INSTDIR}
|
||||
|
||||
The installation directory ($INSTDIR is modifiable using StrCpy, ReadRegStr, ReadINIStr, etc. - This could be used, for example, in the .onInit function to do a more advanced detection of install location).
|
||||
|
@ -44,7 +46,7 @@ The location of the installer executable. (technically you can modify this varia
|
|||
|
||||
\e{$\{NSISDIR\}}
|
||||
|
||||
A symbol that contains the path where NSIS is installed. Detected at compile time. Useful if you want to call resources that are in NSIS directory e.g. Icons, UI's...
|
||||
A symbol that contains the path where NSIS is installed. Detected at compile time. Useful if you want to call resources that are in NSIS directory e.g. Icons, UI's...
|
||||
|
||||
\e{$WINDIR}
|
||||
|
||||
|
@ -60,7 +62,7 @@ The system temporary directory (usually C:\\windows\\temp but detected at runtim
|
|||
|
||||
\e{$STARTMENU}
|
||||
|
||||
The start menu folder (useful in adding start menu items using CreateShortCut)
|
||||
The start menu folder (useful in adding start menu items using CreateShortCut). The context of this variable (All Users or Current user) depends on the SetShellVarContext setting. The default is the current user.
|
||||
|
||||
\e{$SMPROGRAMS}
|
||||
|
||||
|
@ -108,4 +110,4 @@ This code will set the name of the installer to "Test Program $\{VERSION\}". The
|
|||
\c !define VERSION "V.1.0"
|
||||
\c Name "Test Program ${VERSION}"
|
||||
|
||||
This code sets the name of the installer to "Test Program V.1.0"
|
||||
This code sets the name of the installer to "Test Program V.1.0"
|
Loading…
Add table
Add a link
Reference in a new issue