From: kkolinko Date: Sat, 14 Nov 2009 16:30:21 +0000 (+0000) Subject: Clear the values in username and password fields when they are read-only X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=537bb1d2a396597f1de00d50146fc5c48c07874d;p=tomcat7.0 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 --- 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"