This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: setup.exe sucks
Warren Young wrote:
stop running services before starting the upgrade.
Thinking more about it, couldn't you just call LoadLibrary() on the full
path to cygwin.dll, and if that succeeds, get the process list from it
and send out kill signals?
If LoadLibrary() doesn't succeed, either Cygwin isn't installed, or the
DLL has gone missing; in either case, you can probably upgrade without a
reboot anyway.