Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sourceware.cygnus.com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin@sourceware.cygnus.com>
List-Help: <mailto:cygwin-help@sourceware.cygnus.com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
Message-ID: <39502851.5F791E53@redhat.co.uk>
Date: Wed, 21 Jun 2000 03:28:33 +0100
From: Jonathan Larmour <jlarmour@redhat.co.uk>
Organization: Red Hat UK Ltd.
X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.14-11smp i686)
X-Accept-Language: en
MIME-Version: 1.0
To: DJ Delorie <dj@delorie.com>
CC: cygwin@sourceware.cygnus.com
Subject: Re: setup-1_48
References: <200006202124.WAA25945@murgh.cygnus.co.uk> <200006210211.WAA27870@envy.delorie.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

DJ Delorie wrote:
> 
> Setup will check the DLL version (timestamp?) of cygwin1.dll to
> determine if it needs to upgrade or not (to accomodate snapshots).
> Not so for the other packages.  The ability to track what *is*
> installed vs what *should* be installed has been an interesting
> challenge :-)

Yeah, but setup.exe does (did?) do this better. It fills in the Installed
Components bits of the registry and uses that to decide whether to update,
i.e.:

HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Installed
Components\C:/cygwin
  (default) = `20000517'
  bash = `0002.0004.0001'
  binutils = `19990818.0002'
  bison = `0000'
  byacc = `0000'
  bzip = `0000'
  clear = `0001.0000'
[snip rest]

It may be imprecise, but it's better than nothing surely?

Jifl
-- 
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS  Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow."  ||  These opinions are all my own fault

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

