documented new features, font size

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3282 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
joostverburg 2003-12-14 17:59:00 +00:00
parent 39e524b732
commit d5ce427baa
8 changed files with 100 additions and 5 deletions

View file

@ -126,6 +126,12 @@ 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.
\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.
\S2{a} FileErrorText
\c file error text

View file

@ -89,3 +89,9 @@ Time according to the current locale.
\S1{pretimestamp} $\{__TIMESTAMP__\}
Date & time according to the current locale.
\S0{compenvvarread} Read enviroment variables
\S1{compenvvar} $%envVarName%
$%envVarName% will be replaced on compile time by the enviroment variable envVarName.

View file

@ -26,6 +26,12 @@ This command sets the compress flag which is used by the installer to determine
This command sets the compression algorithm used to compress files/data in the installer. Options are ZLib or BZip2. ZLib (the default) uses deflate compression. This mode uses less memory at runtime and is faster. BZip2 compression is usually better for large installers, but it is slower and uses a lot more memory at runtime.
\S2{asetcompressordictsize}{SetCompressorDictSize}
\c dict_size_mb
Sets the dictionary size in megabytes (MB) used by the LZMA compressor (default is 8 MB).
\S2{asetdatablockoptimize} SetDatablockOptimize
\c \\<b\\>on\\</b\\>|off

View file

@ -24,17 +24,29 @@ This command, when paired with an !endif command, will tell the compiler whether
\c gflag [bcheck [gflag [...]]]
This command is the logical lovemonkey to !ifdef and !endif. !ifdef/!else/!endif, !ifdef/!else ifdef/!endif, !ifdef/!else ifdef/!else ifndef/!endif, etc. If ifdef or ifndef is specified as the first parameter, it behaves as expected.
The opposite of !ifmacrodef. The lines will be compiled when the gflag has not been defined.
\S1{ifmacrodef} !ifmacrodef
\c gflag [bcheck [gflag [...]]]
This command, when paired with an !endif command, will tell the compiler whether or not to compile the lines in between the two lines. If the macro gflag exists, then the contained lines will be compiled. Otherwise, they will be skipped. 'bcheck' can be specified as & (boolean and) or | (boolean or) along with more gflags -- precedence is simple, left to right.
\S1{ifmacrondef} !ifmacrondef
\c gflag [bcheck [gflag [...]]]
The opposite of !ifmacrodef. The lines will be compiled when the macro gflag does not exist.
\S1{else} !else
\c [ifdef|ifndef [...]]
\c [ifdef|ifndef|ifmacrodef|ifmacrondef [...]]
This command is the opposite of !ifdef (If 'gflag' is not globally defined, the lines contained will be compiled). Note that when using boolean operators (& or |), 'gflag' is treated as true if it is undefined. e.g. '!ifndef X | Y' means "if either X or Y is undefined" and '!ifndef X & Y' means "if X and Y are both undefined".
\S1{endif} !endif
This command closes a block started with !ifdef or !ifndef.
This command closes a block started with !ifdef, !ifndef, !ifmacrodef or !ifmacrondef.
\S1{insertmacro} !insertmacro

View file

@ -89,7 +89,7 @@ Compares two unsigned integers val1 and val2. If val1 and val2 are equal, Gotos
\S2{messagebox} MessageBox
\c mb_option_list messagebox_text [return_check jumpto] [return_check_2 jumpto_2]
\c mb_option_list messagebox_text [/SD return] [return_check jumpto] [return_check_2 jumpto_2]
Displays a MessageBox containing the text "messagebox_text". mb_option_list must be one or more of the following, delimited by |s (e.g. MB_YESNO|MB_ICONSTOP).
@ -145,6 +145,8 @@ Return_check can be 0 (or empty, or left off), or one of the following:
If the return value of the MessageBox is return_check, the installer will Goto jumpto.
Use the /SD parameter with one of the return_check values above to specify the option that will be used when the installer is silent.
\S2{return} Return
Returns from a function or section.

View file

@ -1,5 +1,41 @@
\A{history} Changelog and Release Notes
\H{v2.0b5} 2.0 Beta 5
\S1{v2.0b5-rn} Release Notes
\b Trying the LZMA compression method for your installer is recommended. It often gives a 20% better compression ratio.
\b \L{../Contrib/Modern UI/Readme.html}{Modern UI 1.68}: The setting to change the title size on the Welcome page and Finish page has been changed
\S1{v2.0b5-cl} Changelog
\S2{} Major Changes
\b LZMA compression support. Added \R{asetcompressordictsize}{SetCompresssorDictSize}.
\b \L{../Contrib/Modern UI/Readme.html}{Modern UI 1.68}: New settings for extra space for title and text on Welcome page and Finish page, improved handling of verbose settings, language file string for uninstaller reboot information, more
\b Added \R{adirverify}{DirVerify} and \R{getinstdirerror}{GetInstDirError} to allow custom error checking when the installation directory is invalid or the drive does not have enough space
\b Added LogicLib to distribution (easier conditional execution etc.)
\b Support for reading environmental variables on compile time: \R{compenvvar}{$%envVarName%}
\b Added /SD parameter for \R{messagebox}{MessageBox}. Allows to set default for silent installers.
\b New conditional compilation options: \R{ifmacrodef}{!ifmacrodef} and \R{ifmacrondef}{!ifmacrondef}.
\b New sections macros for mutually exclusive section selection
\S2{} Utilities and Plug-ins
\b \L{../Contrib/InstallOptions/Readme.html}{InstallOptions 2.3}: Added new control type "Button", added new flag "NOTIFY", added new flag "NOWORDWRAP" for multi-line text boxes, reduced size down to 12K
\b \L{../Contrib/Makensisw/Readme.txt}{MakeNSISW}: More options to set the compression method
\b Zip2Exe 0.31: Fixed compression setting, LZMA compression support
\H{v2.0b4} 2.0 Beta 4
\S1{v2.0b4-rn} Release Notes

View file

@ -1,5 +1,17 @@
\S1{miscinst} Miscellaneous Instructions
\S2{getinstdirerror} GetInstDirError
\c user_var(error output)
Use in the leave function of a directory page. Reads the flag set if '\R{adirverify}{DirVerify leave}' is used. Possible values:
0: No error
1: Invalid installation directory
2: Not enough space on installation drive
\S2{initpluginsdir} InitPluginsDir
Initializes the plugins dir (\R{varconstant}{$PLUGINSDIR}) if not already initialized.

View file

@ -1,6 +1,21 @@
body {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
font-size: 0.8em;
}
p, li {
font-size: 100%;
}
h1 {
font-size: 170%;
}
h2 {
font-size: 150%;
}
h3 {
font-size: 130%;
}
h4 {
font-size: 120%;
}
pre {
font-family: Courier New, Courier, mono;