+ Sections can be unselected in silent mode too

+ Some documentation fixes
+ Transition between a normal page and a custom page no longer causes a flicker (between two custom pages it still does)
+ The completed sub-caption shows again


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1853 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2002-11-30 13:15:49 +00:00
parent e34ad8ec8d
commit 5e9ede6d31
15 changed files with 209 additions and 203 deletions

View file

@ -140,7 +140,7 @@ This attribute tells the installer to check a string in the registry, and use it
\c [flag [...]]
Valid values for flag are "smooth" (smooth the progress bar) or "colored" (color the progress bar with the colors set by InstallColors. Examples: "InstProgressFlags" (default old-school windows look), "InstProgressFlags smooth" (new smooth look), "InstProgressFlags smooth colored" (colored smooth look whee).
Valid values for flag are "smooth" (smooth the progress bar) or "colored" (color the progress bar with the colors set by InstallColors. Examples: "InstProgressFlags" (default old-school windows look), "InstProgressFlags smooth" (new smooth look), "InstProgressFlags smooth colored" (colored smooth look whee). Note: neither "smooth" or "colored" work with XPStyle on (see \k{axpstyle}).
\S2{ainsttype} InstType
@ -226,13 +226,13 @@ Sets whether or not the details of the uninstall are shown. Can be 'hide' to hid
\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 (\k{logset}).
Specifies whether or not the installer should be silent. If it is 'silent' or 'silentlog', all sections that have the SF_SELECTED flag are installed quietly (you can set this flag using SectionSetFlags [see \k{sectionsetflags}]), 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}).
\S2{asilentuninstall} SilentUnInstall
\c \\<b\\>normal\\</b\\>|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}).
Specifies whether or not the uninstaller should be silent. If it is 'silent' or 'silentlog', the uninstall section will run quietly, with no screen output from the uninstaller 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 uninstaller with /S on the command line, it will behave as if SilentUnInstall 'silent' was used. Note: see also LogSet (\k{logset}).
\S2{aspacetexts} SpaceTexts

View file

@ -10,6 +10,8 @@
\b New easier version of the Modern User Interface with better multilanguage support, InstallOptions integration, welcome and finish page etc.
\b Custom pages no longer flicker when created
\b Added accelerator keys
\b Added LangString and LangStringUP for user defined multilingual strings
@ -24,7 +26,7 @@
\b Splash.exe is now a plugin (splash.dll)
\b Added new plugins: System, AdvSplash, nsExec, UserInfo, BgImage and StartMenu
\b Added new plugins: System, AdvSplash, nsExec, UserInfo, BgImage, Banner and StartMenu
\b !ifdef and friends can now be used in macros

View file

@ -1,6 +1,6 @@
\S1{secmanage} Section Management
\S2{SectionSetFlags} SectionSetFlags
\S2{sectionsetflags} SectionSetFlags
\c section_index section_flags
@ -8,19 +8,19 @@ Sets the section's flags. The flag is a 32 bit integer. The first bit (lowest) r
For an example of usage please see the \W{../Examples/one-section.nsi}{one-section.nsi} example.
\S2{SectionGetFlags} SectionGetFlags
\S2{sectiongetflags} SectionGetFlags
\c section_index user_var(output)
Retrieves the section's flags. See above for a description of the flag. The error flag will be set if an out of range section is specified.
\S2{SectionSetText} SectionSetText
\S2{sectionsettext} SectionSetText
\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.
\S2{SectionGetText} SectionGetText
\S2{sectiongettext} SectionGetText
\c section_index user_var(output)