updates
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1533 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
69dee33388
commit
8204a7298a
1 changed files with 23 additions and 22 deletions
|
@ -2,6 +2,8 @@
|
|||
|
||||
The commands below all adjust attributes of the installer. These attributes control how the installer looks and functions, including which pages are present in the installer, as what text is displayed in each part of each page, how the installer is named, what icon the installer uses, the default installation directory, what file it writes out, and more. Note that these attributes can be set anywhere in the file except in a Section or Function. With the exception of InstallDir, none of these attributes allow use of Variables other than $\\r and $\\n in their strings.
|
||||
|
||||
\\<b\\>Defaults are bold\\</b\\>
|
||||
|
||||
\H{aaddbrandingimage} AddBrandingImage
|
||||
|
||||
\c (left|top) (width|height)
|
||||
|
@ -10,19 +12,19 @@ Adds a branding image on the top of the installer or on the left. Its size will
|
|||
|
||||
\H{aallowrootdirinstall} AllowRootDirInstall
|
||||
|
||||
\c true|false
|
||||
\c true|\\<b\\>false\\</b\\>
|
||||
|
||||
Controls whether or not installs are enabled to the root directory of a drive, or directly into a network share. Set to 'true' to change the default (safe) behavior, which prevents users from selecting C:\\ or \\\\Herver\\Hhare as an install (and lataer on, uninstall) directory. For additional directory selection page customizability, see .onVerifyInstDir
|
||||
Controls whether or not installs are enabled to the root directory of a drive, or directly into a network share. Set to 'true' to change the safe behavior, which prevents users from selecting C:\\ or \\\\Server\\Share as an install (and later on, uninstall) directory. For additional directory selection page customizability, see .onVerifyInstDir (\k{onverifyinstdir}).
|
||||
|
||||
\H{aautoclosewindow} AutoCloseWindow
|
||||
|
||||
\c true|false
|
||||
\c true|\\<b\\>false\\</b\\>
|
||||
|
||||
Sets whether or not the install window automatically closes when completed. Can be 'false' or 'true'. This is overrideable from a section using SetAutoClose.
|
||||
Sets whether or not the install window automatically closes when completed. This is overrideable from a section using SetAutoClose.
|
||||
|
||||
\H{abggradient} BGGradient
|
||||
|
||||
\c [off]|[topc botc [textcolor|notext]]
|
||||
\c [\\<b\\>off\\</b\\>]|[topc botc [textcolor|notext]]
|
||||
|
||||
Specifies whether or not to use a gradient background window. If 'off', the installer will not show a background window, if no parameters are specified, the default black to blue gradient is used, and otherwise the top_color or bottom_color are used to make a gradient. Top_color and bottom_color are specified using the form RRGGBB (in hexadecimal, as in HTML, only minus the leading '#', since # can be used for comments). 'textcolor' can be specified as well, or 'notext' can be specified to turn the big background text off.
|
||||
|
||||
|
@ -78,9 +80,9 @@ Specifies a string that is above the component list. This can be something that
|
|||
|
||||
\H{acrccheck} CRCCheck
|
||||
|
||||
\c on|off|force
|
||||
\c \\<b\\>on\\</b\\>|off|force
|
||||
|
||||
Specifies whether or not the installer will perform a CRC on itself before allowing an install. Valid options are 'on','off', and 'force'. Note that if the user uses /NCRC on the command line when executing the installer, and you didn't specify 'force', the CRC will not occur, and the user will be allowed to install a (potentially) corrupted installer.
|
||||
Specifies whether or not the installer will perform a CRC on itself before allowing an install. Note that if the user uses /NCRC on the command line when executing the installer, and you didn't specify 'force', the CRC will not occur, and the user will be allowed to install a (potentially) corrupted installer.
|
||||
|
||||
\H{adetailsbuttontext} DetailsButtonText
|
||||
|
||||
|
@ -90,7 +92,7 @@ Replaces the default details button text of "Show details", if parameter is spec
|
|||
|
||||
\H{adirshow} DirShow
|
||||
|
||||
\c show|hide
|
||||
\c \\<b\\>show\\</b\\>|hide
|
||||
|
||||
Specifies whether or not the user will see the directory selection page. Note that if 'hide' is specified, the installer will still check the validity of the installation path (using internal logic and .onVerifyInstDir if it is declared). If the path is deemed invalid, the directory page will be shown. To completely disable the Directory page (and install without prompting, even if a valid installation path is not available), specify DirText with no parameter (this might be useful if the installer installs everything into $SYSDIR or something like that).
|
||||
|
||||
|
@ -146,7 +148,7 @@ Adds an install type to the install type list, or disables the custom install ty
|
|||
|
||||
\c color
|
||||
|
||||
Sets the background color of the license data.
|
||||
Sets the background color of the license data. Color is specified using the form RRGGBB (in hexadecimal, as in HTML, only minus the leading '#', since # can be used for comments).
|
||||
|
||||
\H{alicensedata} LicenseData
|
||||
|
||||
|
@ -206,27 +208,27 @@ Sets the installer font. Please remember that the font you choose must be presen
|
|||
|
||||
\H{ashowinstdetails} ShowInstDetails
|
||||
|
||||
\c hide|show|nevershow
|
||||
\c \\<b\\>hide\\</b\\>|show|nevershow
|
||||
|
||||
Sets whether or not the details of the install are shown. Can be 'hide' (the default) to hide the details by default, allowing the user to view them, or 'show' to show them by default, or 'nevershow', to prevent the user from ever seeing them. Note that sections can override this using SetDetailsView.
|
||||
Sets whether or not the details of the install are shown. Can be 'hide' to hide the details by default, allowing the user to view them, or 'show' to show them by default, or 'nevershow', to prevent the user from ever seeing them. Note that sections can override this using SetDetailsView.
|
||||
|
||||
\H{ashowuninstdetails} ShowUninstDetails
|
||||
|
||||
\c hide|show|nevershow
|
||||
\c \\<b\\>hide\\</b\\>|show|nevershow
|
||||
|
||||
Sets whether or not the details of the uninstall are shown. Can be 'hide' (the default) to hide the details by default, allowing the user to view them, or 'show' to show them by default, or 'nevershow', to prevent the user from ever seeing them. Note that sections can override this using SetDetailsView.
|
||||
Sets whether or not the details of the uninstall are shown. Can be 'hide' to hide the details by default, allowing the user to view them, or 'show' to show them by default, or 'nevershow', to prevent the user from ever seeing them. Note that sections can override this using SetDetailsView.
|
||||
|
||||
\H{asilentinstall} SilentInstall
|
||||
|
||||
\c normal|silent|silentlog
|
||||
\c \\<b\\>normal\\</b\\>|silent|silentlog
|
||||
|
||||
Specifies whether or not the installer should be silent. If it is 'silent' or 'silentlog', all sections are installed quietly, with no screen output from the installer itself (MessageBoxes are still displayed on error, and the script can still display whatever it wants). Note that if this is set to 'normal' and the user runs the installer with /S on the command line, it will behave as if SilentInstall 'silent' was used. Note: see also LogSet.
|
||||
Specifies whether or not the installer should be silent. If it is 'silent' or 'silentlog', all sections are installed quietly, with no screen output from the installer itself (MessageBoxes are still displayed on error, and the script can still display whatever it wants). Note that if this is set to 'normal' and the user runs the installer with /S on the command line, it will behave as if SilentInstall 'silent' was used. Note: see also LogSet (\k{logset}).
|
||||
|
||||
\H{asilentuninstall} SilentUnInstall
|
||||
|
||||
\c normal|silent
|
||||
\c \\<b\\>normal\\</b\\>|silent
|
||||
|
||||
Specifies whether or not the uninstaller should be silent.
|
||||
Specifies whether or not the uninstaller should be silent. If it is 'silent' or 'silentlog', all sections are installed quietly, with no screen output from the installer itself (MessageBoxes are still displayed on error, and the script can still display whatever it wants). Note that if this is set to 'normal' and the user runs the installer with /S on the command line, it will behave as if SilentInstall 'silent' was used. Note: see also LogSet (\k{logset}).
|
||||
|
||||
\H{aspacetexts} SpaceTexts
|
||||
|
||||
|
@ -272,13 +274,12 @@ Specifies the text on the first page of the uninstaller. If subtext is specified
|
|||
|
||||
\H{awindowicon} WindowIcon
|
||||
|
||||
\c on|off
|
||||
\c \\<b\\>on\\</b\\>|off
|
||||
|
||||
Sets whether or not the installer's icon is in the upper left corner of the installer.
|
||||
Sets whether or not the installer's icon is being displayed.
|
||||
|
||||
\H{axpstyle} XPStyle
|
||||
|
||||
\c on|off
|
||||
|
||||
Sets whether or not an XP manifest will be added to the installer. Default value is off. This affects the uninstaller too.
|
||||
\c on|\\<b\\>off\\</b\\>
|
||||
|
||||
Sets whether or not an XP manifest will be added to the installer. This affects the uninstaller too.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue