From 590da83f5fc4d013c98a923b17e13d3e8ba20e8f Mon Sep 17 00:00:00 2001 From: kichik Date: Fri, 15 Nov 2002 12:53:08 +0000 Subject: [PATCH] Enabled/show stuff now doesn't do a thing unless specified in the INI file, no more IO defaults, only NSIS defaults. git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1717 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/InstallOptions/Install Options.html | 21 +++------------ Contrib/InstallOptions/InstallerOptions.cpp | 27 ++++++++++---------- Plugins/InstallOptions.dll | Bin 11776 -> 11264 bytes 3 files changed, 18 insertions(+), 30 deletions(-) diff --git a/Contrib/InstallOptions/Install Options.html b/Contrib/InstallOptions/Install Options.html index d8e945c8..368ff0bb 100644 --- a/Contrib/InstallOptions/Install Options.html +++ b/Contrib/InstallOptions/Install Options.html @@ -55,30 +55,18 @@ following values: (optional) If specified, gives the text to set the titlebar to. Otherwise, the titlebar text is not changed. - - CancelConfirm - (optional) - If specified, prompts the user (With text) whether or not to cancel if they select the cancel button. - - CancelConfirmCaption - (optional) - If specified, replaces the default "Question" caption by a user specified value. - - CancelConfirmFlags - (optional) - If specified, can add an icon to the cancel confirmation message box (MB_ICONEXCLAMATION, MB_ICONINFORMATION, MB_ICONQUESTION, MB_ICONSTOP) or effect the behaviour of it in other ways (MB_TOPMOST, MB_SETFOREGROUND, MB_RIGHT, MB_DEFBUTTON1, MB_DEFBUTTON2). To specify multiple flags, separate using the pipe '|' symbol. CancelEnabled (optional) - Controls whether or not the cancel button in the NSIS window is enabled. If set to 1 or omitted, the cancel button will be enabled. If set to 0, the cancel button will be disabled. + If specified, overrides NSIS settings and enables or disables the cancel button. If set to 1, the cancel button will be enabled. If set to 0, the cancel button will be disabled. CancelShow (optional) - Controls whether or not the cancel button in the NSIS window is shown. If set to 1 or omitted, the cancel button will be shown. If set to 0, the cancel button will be hidden. + If specified, overrides NSIS settings and shows or hides the cancel button. If set to 1, the cancel button will be shown. If set to 0, the cancel button will be hidden. - BackDisabled + BackEnabled (optional) - Controls whether or not the back button in the NSIS window is disabled. If set to 0 or omitted, the back button will be enabled. If set to 1, the back button will be disabled. + If specified, overrides NSIS settings and enables or disables the back button. If set to 1, the back button will be enabled. If set to 0, the back button will be disabled. CancelButtonText (optional) @@ -294,7 +282,6 @@ Here is a little example: