delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/04/15/13:58:41

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.8 required=5.0 tests=BAYES_50,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4BC753C0.2030402@etr-usa.com>
Date: Thu, 15 Apr 2010 11:58:24 -0600
From: Warren Young <warren AT etr-usa DOT com>
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 <cygwin AT cygwin DOT com>
Subject: Re: Setup, update thyself
References: <87pr266v6x DOT fsf AT gmail DOT com> <l2g845c0f81004111213s320f8272t29935c93ee7a7128 AT mail DOT gmail DOT com>
In-Reply-To: <l2g845c0f81004111213s320f8272t29935c93ee7a7128@mail.gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019