diff --git a/Contrib/Modern UI/Readme.html b/Contrib/Modern UI/Readme.html index 56751417..d83ead5c 100644 --- a/Contrib/Modern UI/Readme.html +++ b/Contrib/Modern UI/Readme.html @@ -156,13 +156,15 @@ will also help you to learn more about the Modern UI.

 !define MUI_STARTMENUPAGE_NODISABLE ;No value
 !define MUI_FINISHPAGE_RUN "$INSTDIR\Application.exe" ;Value
-!define MUI_INSTALLCOLORS "FFFFFF 000000" ;Multiple parameters
-!define MUI_LICENSEPAGE_TEXT "$\"Text$\" $\"Buttontext$\"" ;Multiple texts
+!define MUI_INSTALLCOLORS "FFFFFF 000000" ;Multiple settings
+!define MUI_LICENSEPAGE_TEXT '"Text"' ;Text
+!define MUI_LICENSEPAGE_TEXT '"Text" "Buttontext"' ;Multiple texts
 

If you want a certain value (i.e. a text) to be language-specific, set a language string and define $(LANGUAGESTRINGNAME) as value.

-

When adding a double quote (") to a Modern UI string, you should always escape it ($\"), - because the Modern UI macros use " to separate parameters.

+

When adding " to a Modern UI string, you should always escape it ($\"), + because the Modern UI macros use " to separate parameters. If you want to set texts like above you have to + escape both " and ' (using $\" and $\').

1. Include the header file

!include "MUI.nsh"

MUI.nsh is in the Include directory, so you don't have @@ -223,7 +225,7 @@ will also help you to learn more about the Modern UI.

License Page Settings

MUI_LICENSEPAGE_TEXT text [buttontext]
- Texts to display on the inner dialog of the license page. Put quotes around the different texts ($\").

+ Texts to display on the inner dialog of the license page. See syntax information about setting multiple texts.

MUI_LICENSEPAGE_TEXT_TOP text
Text to display on the top of the inner dialog of the license page.

MUI_LICENSEPAGE_CHECKBOX
@@ -235,12 +237,12 @@ will also help you to learn more about the Modern UI.

Components Page Settings

MUI_COMPONENTSPAGE_TEXT text [subtext] [subtext2]
- Texts to display on the inner dialog of the components page. Put quotes around the different texts ($\").

+ Texts to display on the inner dialog of the components page. See syntax information about setting multiple texts.

Directory Page Settings

MUI_DIRECTORYPAGE_TEXT text [subtext]
- Texts to display on the inner dialog of the directory page. Put quotes around the different texts ($\").

+ Texts to display on the inner dialog of the directory page. See syntax information about setting multiple texts.

MUI_DIRECTORYPAGE_VARIABLE variable
Variable in which to store the selected folder
Default: $INSTDIR

@@ -425,6 +427,7 @@ will also help you to learn more about the Modern UI.

Have a look at the language files for a complete list of all the string names.

+

You only have to escape " (using $\").

Note: When using different product name (MUI_PRODUCT) for different languges, !undef MUI_PRODUCT after inserting a language file (or use a language string).