From: markt Date: Tue, 2 Aug 2011 00:54:27 +0000 (+0000) Subject: Quote the service name parameter in the registry as well as in the shortcut X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=92eba79e2b8c1d371b5bed3a74c4ebc48ab37ad4;p=tomcat7.0 Quote the service name parameter in the registry as well as in the shortcut git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1152988 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/res/tomcat.nsi b/res/tomcat.nsi index 4b0e3c6dc..a9a80db3b 100644 --- a/res/tomcat.nsi +++ b/res/tomcat.nsi @@ -348,7 +348,7 @@ Section -post WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Apache Tomcat @VERSION_MAJOR_MINOR@ $TomcatServiceName" \ "DisplayName" "Apache Tomcat @VERSION_MAJOR_MINOR@ $TomcatServiceName (remove only)" WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Apache Tomcat @VERSION_MAJOR_MINOR@ $TomcatServiceName" \ - "UninstallString" "$\"$INSTDIR\Uninstall.exe$\" -ServiceName=$TomcatServiceName" + "UninstallString" "$\"$INSTDIR\Uninstall.exe$\" -ServiceName=$\"$TomcatServiceName$\"" SectionEnd