public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Alexander Groß" <agross@therightstuff.de>
To: cygwin@cygwin.com
Subject: Re: Setup, update thyself
Date: Fri, 16 Apr 2010 11:26:00 -0000	[thread overview]
Message-ID: <h2j1a2808231004160425jf188f6f7ze9572adf8598ae83@mail.gmail.com> (raw)
In-Reply-To: <4BC753C0.2030402@etr-usa.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ß
http://therightstuff.de/


2010/4/15 Warren Young <warren@etr-usa.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

      reply	other threads:[~2010-04-16 11:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-11 12:16 Paul Bibbings
2010-04-11 19:13 ` Rance Hall
2010-04-15 17:58   ` Warren Young
2010-04-16 11:26     ` Alexander Groß [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=h2j1a2808231004160425jf188f6f7ze9572adf8598ae83@mail.gmail.com \
    --to=agross@therightstuff.de \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).