diff --git a/Contrib/Banner/Readme.txt b/Contrib/Banner/Readme.txt index 419f75eb..d6bf2b09 100644 --- a/Contrib/Banner/Readme.txt +++ b/Contrib/Banner/Readme.txt @@ -1,19 +1,33 @@ -Banner.dll shows a banner with customizable text. +BANNER PLUG-IN +-------------- -There are only two functions, show and destroy. Show must be called -with the /NOUNLOAD flag or else it won't work. Show takes one argument -which is the text to show and destroy takes no arguments. +The Banner plug-in shows a banner with customizable text. It uses the IDD_VERIFY dialog of the UI. -To use with the MUI use: +There are only two functions, show and destroy. -Banner::show /NOUNLOAD /set 76 "text to replace Please wait while Setup is loading..." "other text as normal" +Usage +----- -You can use multiple /SETs to change the text of multiple labels. For example: +Banner::show /NOUNLOAD "Text to show" -Banner::show /NOUNLOAD /set 76 "bah #1" /set 54 "bah #2" "other text as normal" +Banner::destroy -The second parameter for /set is the ID of the control that its text should be replaced in the dialog. +See Example.nsi for an example. -Look at Example.nsi for an example. +Modern UI +--------- -Created by Amir Szekely (aka KiCHiK) \ No newline at end of file +The Modern UI has two labels on the IDD_VERIFY dialog. To change all the texts, use: + +Banner::show /NOUNLOAD /set 76 "Text 1 (replaces Please wait while Setup is loading...)" "Normal text" + +Custom UI +--------- + +If you have more labels on your IDD_VERIFY dialog, you can use multiple /set parameters to change the texts. + +Example: + +Banner::show /NOUNLOAD /set 76 "bah #1" /set 54 "bah #2" "Normal text" + +The second parameter for /set is the ID of the control. \ No newline at end of file