delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/11/22/22:53:43

Message-Id: <200511230353.jAN3re2S020988@delorie.com>
X-Spam-Check-By: sourceware.org
From: "William J. Leslie" <wjl AT mcpproductions DOT com>
To: <cygwin AT cygwin DOT com>
Subject: Practical method for automatic Cygwin install?
Date: Tue, 22 Nov 2005 21:51:56 -0600
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id jAN3re2S020988

=         =         =         =         =         =         =         =     =
Note: I am rephrasing the question I asked last time (for which the
conversation drifted into GPL and licensing issues).

My program depends on cygwin DLLs, my installer must make sure these
dependencies are satisfied.  I've heard that installing private copies of
cygwin DLLs can lead to version mismatches. Instead of installing private
copies of the cygwin DLLs, my installer will install a complete (but minimal)
cygwin installation to c:\cygwin.

There are a few issues that I am not sure how to deal with:

1) How to determine whether or not cygwin is already installed? If so, what
is the prefix path (e.g. c:\cygwin)?

2) If cygwin is already installed, what optional packages are present? What
versions?

3) If cygwin is NOT installed, how do we install it, without setup.exe
prompts?  (I have a gut feeling that it's a bit more complicated than just
untarring packages.)

4) If cygwin is installed, but some optional packages need version upgrades,
how do we accomplish that?

Probably any developer who has tried to release software for the cygwin
environment has thought about this.  Users demand absolute automation of the
installer; I can't tell them to do stuff like:

"This package requires cygwin. Please go install Cygwin from www.cygwin.com,
and click Retry when you're finished."

Nope, that would not be acceptable; it MUST be automatic! But apparently Cygwin's setup utility cannot be automated, only GUI-based.  Surely there
are ways for installers like mine to install cygwin without having to worry
about the messy details.  Or maybe not.  Does anyone know?

Thank You
Will


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