public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
To: cygwin@cygwin.com
Subject: Re: Installer names not meaningful enough
Date: Mon, 05 Dec 2016 19:05:00 -0000	[thread overview]
Message-ID: <9c407e66-0775-a183-c168-6e7fd4e0e741@SystematicSw.ab.ca> (raw)
In-Reply-To: <20161205173630.GA1749@fedora.wp.comcast.net>

On 2016-12-05 10:36, Stephen Paul Carrier wrote:
> On Thu, Dec 01, 2016 at 11:37:41AM -0500, Ian Lambert wrote:
>> On December 1, 2016 8:54:57 AM EST, cyg Simple <cygsimple@gmail.com> wrote:
>>>
>>>
>>> On 12/1/2016 8:25 AM, Vlado wrote:
>>>> On 1.12.2016 13:51, Eliot Moss wrote:
>>>>> I think that including the version of the setup program could be
>>> helpful
>>>>> - I tend
>>>>> to add it (renaming the file by hand).  However, clearly we've lived
>>>>> with things this
>>>>> way for a long time ...
>>>
>>> More than a score years.
>>>
>>>>
>>>> I disagree.
>>>> I have a script to update Cygwin. This script checks for new version
>>> of
>>>> setup, downloads, verifies signature, etc. Things would become much
>>> more
>>>> complicated with variable setup file name.
>>>> Finally: Why should I care about the exact version number of setup?
>>>> Script makes backups of the old setup files like setup.exe.0001,
>>> 0002,
>>>> ..., just for a cause, but never in the past I did have to looking
>>> for
>>>> the setup with exact version number.
>>>>
>>>
>>> The only reason would be if you had an older version of the .ini file.
>>> When the data prerequisites of the .ini file change there is a new
>>> version of setup to handle that.
> 
> Right, and the way to learn if this is the case is to run setup.  I learn
> that a new version is available by running the old version.
> 
> Running setup is also the way to find out what is the version.
> 
> I don't mind renaming the file myself, but would really appreciate any
> way to know from the cygwin.com front page exactly which version of the
> setup-*.exe is on offer.  (The current version of Cygwin DLL is useful,
> but not the same thing.)

You can get the Setup version by installing upx and running: 

cp -fp $DIR/setup-x86*.exe /tmp/setup	&& \
upx -dqqq /tmp/setup			&& \
egrep -ao '%%%\ssetup-version\s[.0-9]+' /tmp/setup | \
	sed 's/%%%\ssetup-version\s//'	&& \
rm -f /tmp/setup

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

--
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

  parent reply	other threads:[~2016-12-05 19:05 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-01 10:52 Roberto Ríos Gallardo
2016-12-01 12:19 ` Lee Dilkie
2016-12-01 12:51   ` Eliot Moss
2016-12-01 13:25     ` Vlado
2016-12-01 13:55       ` cyg Simple
2016-12-01 16:37         ` Ian Lambert
2016-12-05 17:36           ` Stephen Paul Carrier
2016-12-05 18:35             ` Andrey Repin
2016-12-05 18:53               ` Eliot Moss
2016-12-05 19:05             ` Brian Inglis [this message]
2016-12-01 14:06   ` Buchbinder, Barry (NIH/NIAID) [E]
2016-12-07 21:40   ` Erik Soderquist
2016-12-07 21:57     ` Brian Inglis
2016-12-07 22:06       ` Erik Soderquist
2016-12-08  4:50         ` Brian Inglis
2016-12-09 11:28         ` Vlado
2016-12-14 21:18           ` Erik Soderquist
2016-12-14 21:50             ` cyg Simple
2016-12-14 21:58               ` Erik Soderquist
2016-12-15 15:54                 ` cyg Simple
2016-12-06  9:12 ` Gerrit Haase
2016-12-07  9:57   ` Duncan Roe
2016-12-07 14:46     ` Ian Lambert
2016-12-07 21:25       ` Brian Inglis

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=9c407e66-0775-a183-c168-6e7fd4e0e741@SystematicSw.ab.ca \
    --to=brian.inglis@systematicsw.ab.ca \
    --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).