You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2011/08/02 02:31:55 UTC

DO NOT REPLY [Bug 51598] New: NSIS - Running Uninstall.exe without arguments

https://issues.apache.org/bugzilla/show_bug.cgi?id=51598

             Bug #: 51598
           Summary: NSIS - Running Uninstall.exe without arguments
           Product: Tomcat 7
           Version: 7.0.19
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Packaging
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: knst.kolinko@gmail.com
    Classification: Unclassified


Reviewing r1152863

CreateShortCut "$SMPROGRAMS\Apache Tomcat @VERSION_MAJOR_MINOR@
$TomcatServiceName\Uninstall Tomcat @VERSION_MAJOR_MINOR@.lnk" \
                 "$INSTDIR\Uninstall.exe" '-ServiceName="$TomcatServiceName"'

The trick of passing argument to Uninstall.exe is a bit flawed:  a user can
double click Uninstall.exe in Tomcat installation directory and uninstallation
will be launched without this additional argument.

I wonder whether we can derive this name from somewhere (from the name of exe
files in bin, or from Registry?) and confirm it,  like uninstaller
displays/confirms the name of directory it uninstalls from.

A more simple fix could be to just display a warning and abort deinstallation.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 51598] NSIS - Running Uninstall.exe without arguments

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51598

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Mark Thomas <ma...@apache.org> 2011-08-02 09:22:37 UTC ---
Fixed in 7.0.x and will be in 7.0.20 onwards.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org