From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27132 invoked by alias); 15 Apr 2010 17:58:33 -0000 Received: (qmail 27120 invoked by uid 22791); 15 Apr 2010 17:58:31 -0000 X-SWARE-Spam-Status: No, hits=0.8 required=5.0 tests=BAYES_50,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from etr-usa.com (HELO etr-usa.com) (130.94.180.135) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 15 Apr 2010 17:58:28 +0000 Received: (qmail 33886 invoked by uid 13447); 15 Apr 2010 17:58:25 -0000 Received: from unknown (HELO [172.20.0.42]) ([71.213.140.126]) (envelope-sender ) by 130.94.180.135 (qmail-ldap-1.03) with SMTP for ; 15 Apr 2010 17:58:25 -0000 Message-ID: <4BC753C0.2030402@etr-usa.com> Date: Thu, 15 Apr 2010 17:58:00 -0000 From: Warren Young User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: Cygwin-L Subject: Re: Setup, update thyself References: <87pr266v6x.fsf@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2010-04/txt/msg00633.txt.bz2 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