From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1322 invoked by alias); 16 Apr 2010 11:26:21 -0000 Received: (qmail 1311 invoked by uid 22791); 16 Apr 2010 11:26:20 -0000 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 Received: from fg-out-1718.google.com (HELO fg-out-1718.google.com) (72.14.220.152) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 16 Apr 2010 11:26:12 +0000 Received: by fg-out-1718.google.com with SMTP id e21so243721fga.2 for ; Fri, 16 Apr 2010 04:26:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.115.132 with HTTP; Fri, 16 Apr 2010 04:25:48 -0700 (PDT) In-Reply-To: <4BC753C0.2030402@etr-usa.com> References: <87pr266v6x.fsf@gmail.com> <4BC753C0.2030402@etr-usa.com> From: =?UTF-8?Q?Alexander_Gro=C3=9F?= Date: Fri, 16 Apr 2010 11:26:00 -0000 Received: by 10.87.76.7 with SMTP id d7mr1156403fgl.65.1271417168137; Fri, 16 Apr 2010 04:26:08 -0700 (PDT) Message-ID: Subject: Re: Setup, update thyself To: cygwin@cygwin.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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/msg00661.txt.bz2 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 > > 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