This is the mail archive of the cygwin-apps@cygwin.com 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: 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.


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