delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/12/09/16:21:33

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.0.1.1.0.20031209161313.0393cd68@127.0.0.1>
X-Sender:
Date: Tue, 09 Dec 2003 16:18:53 -0500
To: "David A. Cobb" <Superbiskit AT cox DOT net>,
Cygwin General Discussion <cygwin AT cygwin DOT com>
From: Larry Hall <cygwin-lh AT cygwin DOT com>
Subject: Re: Third-party products that include Cygwin
In-Reply-To: <3FD61E0C.3070803@cox.net>
References: <3FD61E0C DOT 3070803 AT cox DOT net>
Mime-Version: 1.0

At 02:10 PM 12/9/2003, David A. Cobb you wrote:
>I recently tried out a couple of software packages -- SSH_CONFIGURATOR is one that sticks in my mind -- that are built with Cygwin. Their README documents said there wouldn't be a problem with a "properly installed" existing Cygwin.  Well, there was a problem with
>mine, which otherwise works just fine for me. Possibly they looked for cygwin1.dll in a specific place, possibly they tried to use PATH.  I don't know.  Anyway, they left me with multiple cygwin1.dll's so nothing worked at all until I tore them out by the roots. 
>OK, that may be the packagers problem, not ours.  However, I'm wondering if we could make it easier? How about storing /HKLM/Cygnus Solutions/Cygwin/DLL_PATH="native:/path/to/cygwin1.dll and
>                          /HKLM/Cygnus Solutions/Cygwin/DLL_VERSION="1.2.3"
>
>And providing a simple C routine to return the critical information.  
>I'm less sure about this piece -- most use things like InstallShield and I don't know how the scripting works there. Of course, if they simply looked at the mount point /HKLM/Cyg.../Cygwin/mounts_v2/bin, they could work it all out!!!


The prescribed approach is for third parties to not bundle cygwin1.dll
but instead point to cygwin.com and say "Install This First".  An 
alternative is a nice automated way in their installer to invoke the 
Cygwin installer.  If they do this, then there's no chance of having 
more than 1 cygwin1.dll installed and no one needs to check for one.  
Of course, doing the checking is not hard (FindFirstFile()/FindNextFile())
even if it's not necessary.


--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019