delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/04/16/07:26:26

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=2.9 required=5.0 tests=BAYES_20,EXECUTABLE_URI,RCVD_IN_DNSWL_NONE,SARE_MSGID_LONG45
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4BC753C0.2030402@etr-usa.com>
References: <87pr266v6x DOT fsf AT gmail DOT com> <l2g845c0f81004111213s320f8272t29935c93ee7a7128 AT mail DOT gmail DOT com> <4BC753C0 DOT 2030402 AT etr-usa DOT com>
From: =?UTF-8?Q?Alexander_Gro=C3=9F?= <agross AT therightstuff DOT de>
Date: Fri, 16 Apr 2010 13:25:48 +0200
Message-ID: <h2j1a2808231004160425jf188f6f7ze9572adf8598ae83@mail.gmail.com>
Subject: Re: Setup, update thyself
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

I invoke setup through a little helper script that updates setup.exe
in case there is a new version on the server.

wget.exe --timestamping http://cygwin.com/setup.exe
runas.exe /user:%USERDOMAIN%\Administrator setup.exe

Auto-update would have a nice touch to it, though.

Alex
--
Alexander Gro=C3=9F
http://therightstuff.de/


2010/4/15 Warren Young <warren AT etr-usa 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 upda=
ter. =C2=A0It could make a copy of its own executable to a temp location, a=
nd 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