Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Sat, 22 Jan 2005 01:51:38 -0500 (EST) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com Subject: Re: Multiple installations and 3PPs (FAQ alert) In-Reply-To: <20050122043814.GA26399@trixie.casa.cgf.cx> Message-ID: References: <41F0D6DB DOT 8010107 AT gmx DOT ch> <20050121163345 DOT GD20002 AT trixie DOT casa DOT cgf DOT cx> <20050122032443 DOT GB25794 AT trixie DOT casa DOT cgf DOT cx> <6 DOT 2 DOT 0 DOT 14 DOT 0 DOT 20050121231529 DOT 03d50da0 AT pop DOT prospeed DOT net> <20050122043814 DOT GA26399 AT trixie DOT casa DOT cgf DOT cx> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Fri, 21 Jan 2005, Christopher Faylor wrote: > On Fri, Jan 21, 2005 at 11:17:30PM -0500, Larry Hall wrote: > >Perhaps this was the reference Dick had in mind? > > > >How do I uninstall all of Cygwin? > > > > Perhaps. > > Joshua, if you have a chance, could you add something about using mount > to remove the options. Of course, this might be sort of a chicken/egg > thing. > > You could do something like: > > mount --remove-all-mounts > > Then use "My Computer" to delete the cygwin directory. > > This would still leave an Cygnus Solutions key in the registry, though. > > cgf Should we, perhaps, provide a small 'uninstall' script, maybe in /usr/sbin, that would perform a umount and then use regtool to remove the registry key? It could even be a .bat, which will enable it to delete all of Cygwin once the last Cygwin process exits... A postinstall script could generate it, too, so that it contains explicit paths of the Cygwin root directory. Something like ------ BEGIN gen-uninst.sh ------ #!/bin/sh CYGDIR="`/bin/cygpath -aw /`" cat > /usr/sbin/uninstall.bat <