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: Setup, update thyself


On 4/11/2010 1:13 PM, Rance Hall wrote:

The standard way to do this would be to write a script that wgets (or other windows alternative) the setup.exe on the web into a staging area.

Firefox and Adobe do it with a separate updater program.


I'm not recommending that for Cygwin, but setup.exe could be its own updater. It could make a copy of its own executable to a temp location, and launch that with a flag that makes it go fetch and replace the non-temp copy and relaunch it.

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


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