This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: uninstall cygwin


On Fri, 30 Jun 2006, Dave wrote:

> Igor Peshansky wrote:
> > On Fri, 30 Jun 2006, f g wrote:
> >
> > > I would like to uninstall a Cygwin installation under
> > > Windows XP: to do this I follow the instruction in
> >
> > You'll also want to delete the registry key, as outlined in the above
> > instructions.  Oh, and deleting the directory won't remove any
> > shortcuts created by the Cygwin installation packages (like those in
> > the Start Menu or on the desktop, or the associations created by the
> > "chere" package), so it's better to use setup.exe to uninstall
> > everything first, *then* delete the directory and the registry key.
>
> Just to clarify, Igor's procedure won't remove the chere associations
> that he mentioned.
>
> If you don't recognise "chere", then you don't have any associations to
> remove. If someone else set things up for you, run the following command
> (before uninstalling cygwin) to identify any associations:
>
> chere -l
>
> To remove the associations, run
>
> chere -u -s <shell>
>
> for each shell, where <shell> is the shell you installed
> (cmd/ash/bash/tcsh/pdksh/zsh). That's from memory (and I don't uninstall
> that often:), see man chere for accurate information.

Right, thanks for the clarification, Dave.  I forgot that chere needed to
be explicitly invoked to add the association (and thus explicitly invoked
to remove it as well).  This also applies to other packages that need to
be explicitly configured (e.g., sshd, cron, etc).

In any case, the advice still applies -- any package that was installed
using Cygwin setup will need to be uninstalled using Cygwin setup to give
the preremove scripts a chance to run.  Technically, the preremove scripts
should undo whatever the postinstall scripts did (if they don't, it's a
packaging bug).
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]