From 92eba79e2b8c1d371b5bed3a74c4ebc48ab37ad4 Mon Sep 17 00:00:00 2001 From: markt Date: Tue, 2 Aug 2011 00:54:27 +0000 Subject: [PATCH] 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 --- res/tomcat.nsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.11.0