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> <4BC753C0 DOT 2030402 AT etr-usa DOT com> From: =?UTF-8?Q?Alexander_Gro=C3=9F?= Date: Fri, 16 Apr 2010 13:25:48 +0200 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 AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 > > 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