diff --git a/Docs/src/flowcontrol.but b/Docs/src/flowcontrol.but index 2410a654..f8d544c2 100644 --- a/Docs/src/flowcontrol.but +++ b/Docs/src/flowcontrol.but @@ -44,6 +44,13 @@ If +offset or -offset is specified, jump is relative by offset instructions. Got If a user variable is specified, jumps to absolute address (generally you will want to get this value from a function like GetLabelAddress). Compiler flag commands and SectionIn aren't instructions so jumping over them has no effect. +\S2{ifabort} IfAbort + +\c label_to_goto_if_abort [label_to_goto_if_no_abort] + +If abort is called it will "return" true. This can happen if the user choose abort on a file that failed to create (or overwrite) or if the user aborted by hand. This function can only be called from the leave function of the instfiles \R{page}{page}. + + \S2{iferrors} IfErrors \c jumpto_iferror [jumpto_ifnoerror] diff --git a/Docs/src/sec.but b/Docs/src/sec.but index 7a8afb8c..6c9f0034 100644 --- a/Docs/src/sec.but +++ b/Docs/src/sec.but @@ -18,7 +18,7 @@ Retrieves the section's flags. See above for a description of the flag. The erro \c section_index section_text -Sets the description for the section section_index. To set a subsection, you must use - at the beginning of the text. The error flag will be set if an out of range section is specified. +Sets the description for the section section_index. To set a subsection, you must use - at the beginning of the text. If the Text is set to "" than the section will be hidden. The error flag will be set if an out of range section is specified. \S2{sectiongettext} SectionGetText diff --git a/Docs/src/usefulinfos.but b/Docs/src/usefulinfos.but index 21276c27..ac305d33 100644 --- a/Docs/src/usefulinfos.but +++ b/Docs/src/usefulinfos.but @@ -7,6 +7,27 @@ If you want to compile NSIS by yourself you have to install the Sources. The Sou \\Note: If your using Visual C 6.0 you have to update the \W{http://www.microsoft.com/msdownload/platformsdk/sdkupdate/}{Platform SDK} to avoid crashes when using CopyFiles. See \W{http://forums.winamp.com/showthread.php?s=&threadid=131964}{here} for further informations. You should also install the \W{http://msdn.microsoft.com/vstudio/downloads/ppack/default.asp}{Processor Pack} for decreasing the excutable Size.\\ +\H{errorlevels}Errorlevels + +Like any other program installers made by NSIS return errorlevels as a result of their execution. Very useful if you call an NSIS Installer from within an other installer with \R{execwait}{Execwait}. + +On normal Installers: + +\b 0 for normal execution + +\b 1 for User Abort + +\b 2 for Script Abort + +On silent Installers: + +\b 0 for normal execution + +\b 1 for User Abort + +\b 1 for Script Abort + + \H{useful_add_uninst_infos}Add uninstall information to Add/Remove Programs Create a key with your product name under \\HKLM/Software/Microsoft/Windows/CurrentVersion/Uninstall\\ to add entries to the "Add/Remove Programs" section in the Control Panel.