Explicitly configure what icon is used with Tomcat in the list of uninstallable progr...
authorkkolinko <kkolinko@13f79535-47bb-0310-9956-ffa450edef68>
Wed, 3 Aug 2011 16:41:47 +0000 (16:41 +0000)
committerkkolinko <kkolinko@13f79535-47bb-0310-9956-ffa450edef68>
Wed, 3 Aug 2011 16:41:47 +0000 (16:41 +0000)
Before this it somehow used the icon from Tomcat<N>.exe (feather(, but when the service name contains "-" Windows somehow was not able to find the icon and displayed a default one. With this change the Tomcat (cat) icon will be used.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1153573 13f79535-47bb-0310-9956-ffa450edef68

res/tomcat.nsi
webapps/docs/changelog.xml

index 550d0ab..2c43d63 100644 (file)
@@ -348,6 +348,8 @@ 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" \
+                   "DisplayIcon" "$\"$INSTDIR\tomcat.ico$\""
+  WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Apache Tomcat @VERSION_MAJOR_MINOR@ $TomcatServiceName" \
                    "UninstallString" "$\"$INSTDIR\Uninstall.exe$\" -ServiceName=$\"$TomcatServiceName$\""
 
 SectionEnd
index 3d88920..ec3b87d 100644 (file)
         without a service name from executing since the uninstall will not be
         complete. (markt)
       </fix>
+      <fix>
+        Use Tomcat icon (cat) instead of Apache Commons Daemon (feather) one
+        in the list of uninstallable programs on Windows. (kkolinko) 
+      </fix>
       <update>
         Update to Apache Commons Daemon 1.0.7. (markt)
       </update>