From 537bb1d2a396597f1de00d50146fc5c48c07874d Mon Sep 17 00:00:00 2001 From: kkolinko Date: Sat, 14 Nov 2009 16:30:21 +0000 Subject: [PATCH] Clear the values in username and password fields when they are read-only git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@836209 13f79535-47bb-0310-9956-ffa450edef68 --- res/tomcat.nsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/res/tomcat.nsi b/res/tomcat.nsi index 8e9187276..7d6fa095c 100644 --- a/res/tomcat.nsi +++ b/res/tomcat.nsi @@ -385,6 +385,9 @@ Disable: !insertmacro MUI_INSTALLOPTIONS_READ $0 "config.ini" "Field 7" "HWND" !insertmacro MUI_INSTALLOPTIONS_WRITE "config.ini" "Field 7" "Flags" "DISABLED" EnableWindow $0 0 + ; Clear the values + !insertmacro MUI_INSTALLOPTIONS_WRITE "config.ini" "Field 5" "State" "" + !insertmacro MUI_INSTALLOPTIONS_WRITE "config.ini" "Field 7" "State" "" Display: !insertmacro MUI_INSTALLOPTIONS_DISPLAY "config.ini" -- 2.11.0