From 407b6a38585698eba980e22c492f0cd9179b657b Mon Sep 17 00:00:00 2001
From: joostverburg
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 uninstalellerMUI_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