Fix two typos in tomcat.nsi (uppercase vs. lowercase in a macro call and in a message)
authorkkolinko <kkolinko@13f79535-47bb-0310-9956-ffa450edef68>
Wed, 24 Aug 2011 22:45:00 +0000 (22:45 +0000)
committerkkolinko <kkolinko@13f79535-47bb-0310-9956-ffa450edef68>
Wed, 24 Aug 2011 22:45:00 +0000 (22:45 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1161310 13f79535-47bb-0310-9956-ffa450edef68

res/tomcat.nsi

index 2c43d63..ec5b0ac 100644 (file)
@@ -1091,7 +1091,7 @@ Section Uninstall
     MessageBox MB_ICONSTOP|MB_OK \
         "No service name specified to uninstall. This will be provided automatically if you uninstall via \
          Add/Remove Programs or the shortcut on the Start menu. Alternatively, call the installer from \
-         the command line with -serviceName=$\"<name of service>$\"."
+         the command line with -ServiceName=$\"<name of service>$\"."
     Quit
   ${EndIf}
   
@@ -1166,7 +1166,7 @@ SectionEnd
 ; =================
 Function un.onInit
   ${GetParameters} $R0
-  ${GetOPtions} $R0 "-ServiceName=" $R1
+  ${GetOptions} $R0 "-ServiceName=" $R1
   StrCpy $TomcatServiceName $R1
   StrCpy $TomcatServiceFileName $R1.exe
   StrCpy $TomcatServiceManagerFileName $R1w.exe