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: How can i really uninstall completly cygwin from Windows XP Pro ???


On Sat, 7 Feb 2004, Flo wrote:

> Hello,
>
> I have a question i ever seen in this forum but without a correct
> response?:
>
> How can i uninstall completly cygwin from Windows XP Pro ???
>
> I try uninstall it with the setup.exe but it doesn?t work :
>
> The FAQ says that :
>
> How do I uninstall all of Cygwin?
>
> Setup has no automatic uninstall facility. Just delete everything
> manually:
> ? Cygwin shortcuts on the Desktop and Start Menu
> ? The registry tree `Software\Cygnus Solutions' under HKEY_LOCAL_MACHINEand/or HKEY_CURRENT_USER.
> ? Anything under the Cygwin root folder, `C:\cygwin' by default.
> ? Anything created by setup in its temporary working directory.
> It's up to you to deal with other changes you made to your system, such
> as installing the inetd service, altering system paths, etc. Setup would
> not have done any of these things for you.

Oh, good, you actually read the FAQ... :-)

> So, i stopped and removed the SSHD and INETD services and tried to
> delete everything manually:
> But i got ?Acces refused? error on cygwin System files like :
> sshd_config, ssh_config, ssh_host_dsa_key, inetd.log...

This is due to the permission and ownership settings on these files.  To
be able to remove them, you should first take ownership of the whole
Cygwin folder, either by running "chown -R $USER /" as an administrative
user, or, if you've already removed part of Cygwin, by going through
Windows Explorer's file properties dialog for "c:\cygwin", in Advanced
permission settings.

> One day i tried to delete the cygwin directory and i didn?t have any
> problem but now on every cygwin install i get this problem and it make
> me nuts.
> I also tried to start windows in sage mode and delete it but it didn?t
> work.

This won't help - safe mode doesn't change file ownership.  It only helps
if the files are reported as being "in use" because there are services
that are automatically started in normal mode.  In this case, you can also
simply stop the services via "cygrunsrv -E <servicename>".

> Why the cygwin developpers didn't make un uninstaller, is it so
> difficult for them ?!!!

Nobody bothered.  The principle of open-source development is "you scratch
your itch, and then share the results".  If you need an uninstaller, feel
free to contribute one.  <http://cygwin.com/acronyms/#PTC>.

> Another BIG question why the Cygwin installer developpers made a so
> small windows to check packages to install with Cygwin ? instead this
> windows isn't resizable ?!!

It's currently under development.  Try a setup snapshot:
<http://cygwin.com/setup-snapshots/>.

> Florent

HTH,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
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]