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:
parent
07eb9b6425
commit
38b693f19a
24 changed files with 618 additions and 23 deletions
|
@ -70,6 +70,8 @@ Replaces dialog (\e{IDD_LICENSE}, \e{IDD_DIR}, \e{IDD_SELCOM}, \e{IDD_INST}, \e{
|
|||
|
||||
\b \e{IDD_VERIFY} must contain \e{IDC_STR} (static).
|
||||
|
||||
\c ChangeUI all "${NSISDIR}\Contrib\UIs\sdbarker_tiny.exe"
|
||||
|
||||
\S2{acheckbitmap} CheckBitmap
|
||||
|
||||
\c bitmap.bmp
|
||||
|
@ -132,11 +134,28 @@ The default string will be used if a string is empty ("").
|
|||
|
||||
Specifies which variable is to be used to contain the directory selected. This variable should contain the default value too. This allows to easily create two different directory pages that will not require you to move values in and out of $INSTDIR. The default variable is $INSTDIR. This can only be used in \R{pageex}{PageEx} and for directory and uninstConfirm pages.
|
||||
|
||||
\c Var ANOTHER_DIR
|
||||
\c PageEx directory
|
||||
\c DirVar $ANOTHER_DIR
|
||||
\c PageExEnd
|
||||
\c
|
||||
\c Section
|
||||
\c SetOutPath $INSTDIR
|
||||
\c File "a file.dat"
|
||||
\c SetOutPath $ANOTHER_DIR
|
||||
\c File "another file.dat"
|
||||
\c SectionEnd
|
||||
|
||||
\S2{adirverify} DirVerify
|
||||
|
||||
\c \\<b\\>auto\\</b\\>|leave
|
||||
|
||||
If `DirVerify leave' is used, the Next button will not be disabled if the installation directory is not valid or there is not enough space and a flag that you can read in the leave function using \R{getinstdirerror}{GetInstDirError} will be set instead.
|
||||
If `DirVerify leave' is used, the Next button will not be disabled if the installation directory is not valid or there is not enough space. A flag that you can read in the leave function using \R{getinstdirerror}{GetInstDirError} will be set instead.
|
||||
|
||||
\c PageEx directory
|
||||
\c DirVerify leave
|
||||
\c PageCallbacks "" "" dirLeave
|
||||
\c PageExEnd
|
||||
|
||||
\S2{a} FileErrorText
|
||||
|
||||
|
@ -207,6 +226,14 @@ If you make your license file a RTF file it is recommended you edit it with Word
|
|||
|
||||
Specifies if the displayed license must be accept explicit or not. This can be done either by a checkbox or by radiobuttons. By default the "next button" is disabled and will only be enabled if the checkbox is enabled or the right radio button is selected. If off is specified the "next button" is enabled by default.
|
||||
|
||||
\c LicenseForceSelection checkbox
|
||||
\c LicenseForceSelection checkbox "i accept"
|
||||
\c LicenseForceSelection radiobuttons
|
||||
\c LicenseForceSelection radiobuttons "i accept"
|
||||
\c LicenseForceSelection radiobuttons "i accept" "i decline"
|
||||
\c LicenseForceSelection radiobuttons "" "i decline"
|
||||
\c LicenseForceSelection off
|
||||
|
||||
\S2{alicensetext} LicenseText
|
||||
|
||||
\c [text [button_text]]
|
||||
|
@ -343,4 +370,3 @@ Sets whether or not the installer's icon is being displayed.
|
|||
\c on|\\<b\\>off\\</b\\>
|
||||
|
||||
Sets whether or not an XP manifest will be added to the installer. An XP manifest makes the installer controls use the new XP style when running on Windows XP. This affects the uninstaller too.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue