From 407b6a38585698eba980e22c492f0cd9179b657b Mon Sep 17 00:00:00 2001 From: joostverburg Date: Thu, 21 Nov 2002 21:41:47 +0000 Subject: [PATCH] escape ", brandingtext git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1805 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/Modern UI/Readme.html | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Contrib/Modern UI/Readme.html b/Contrib/Modern UI/Readme.html index 10f9400a..c2f28bfc 100644 --- a/Contrib/Modern UI/Readme.html +++ b/Contrib/Modern UI/Readme.html @@ -120,10 +120,12 @@ with a custom user interface.

How to use

The Modern UI has a macro system, so most of the code - has already been written for you!

- The easiest way to use the Modern UI is to customize one of the example - scripts, but you can also modify an existing script.

- How to use the Modern UI in an existing script:

+ has already been written for you!

+

The easiest way to use the Modern UI is to customize one of the example + scripts, but you can also modify an existing script.

+

Note: If you want to add a double quote (") to a Modern UI string, +you should always escape it ($\"), because the Modern UI macro's use " to separate parameters.

+

How to use the Modern UI in an existing script:

1. Include the header file

!include "${NSISDIR}\Contrib\Modern UI\System.nsh"

2. Define the name and version of your software

@@ -185,6 +187,8 @@ with a custom user interface.

The icon of the uninstaleller

MUI_CHECKBITMAP (${NSISDIR}\Contrib\Icons\modern.bmp)
The bitmap with images for the checks of the component select treeview

+

MUI_BRANDINGTEXT (Nullsoft Install System ?.??)
+ The text at the bottom left corner of the window

MUI_FONT, MUI_FONTSIZE (MS Shell Dlg, 8)
The font for the normal texts.

MUI_FONT_HEADER, MUI_FONTSIZE_HEADER, MUI_FONTSTYLE_HEADER