delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/10/24/12:26:21

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <00d601c03dd6$d8566450$c4acb018@home.com>
From: "Erik Nolte" <enolte AT campuspipeline DOT com>
To: <cygwin AT sources DOT redhat DOT com>
References: <NEBBJPGNBOKKDAEIIMIKOEEOCCAA DOT jpollock AT curl DOT com> <20001024112449 DOT C26654 AT redhat DOT com>
Subject: Re: source for setup.exe?
Date: Tue, 24 Oct 2000 10:24:11 -0600
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400

> On Tue, Oct 24, 2000 at 11:14:45AM -0400, John Pollock wrote:
> >is the source available for setup.exe?  I looked for it on the ftp site
but
> >couldn't find it.  I was going to look into adding a silent option to the
> >setup program and see how difficult it would be (maybe accept a parameter
> >for whether it's installation from a local directory vs. from the
internet).
> >Right now i'm getting around the problem by using scriptit to invoke
setup,
> >but that's extremely fragile (if the window titles for any of the cygwin
> >dialog boxes change, it'll break scriptit).
>
> It's available via CVS or in one of the snapshots.
>
> It's a component of the winsup directory.


Specifically it's in the winsup/cinstall directory.  Look at main.cc and
follow it to the various do_* functions to see what each dialog does.

I'm also interested in a silent install.  B20 used InstallShield which
allowed us to script cygwin's installation for our 60+ development machines
and for our 100+ customers.  1.1.4's interactive installation is slowing
that process down a little :-).

I've poked around a little bit in the setup code and it looks a little
tricky to separate the GUI input from the actual installation.  The do_*
functions popup dialogs to get input and then immediately act on the input.
Perhaps the code can be refactored so that the dialogs build a configuration
file that is passed to a (silent) install function.

I just need setup to replace the functionality found in B20's installation.
Specifically, to install the base cygwin (directory structure, dlls,
registry entries, mount table, etc) and a set of local *.tar.gz packages
(yeah, I know, "which set of packages?").  It'd be nice if the installer or
some other program could also update an installation with a given set of
*.tar.gz packages.

Obviously my needs are going to be different from other people's.  So rather
than me hacking in just my changes (and having them rejected :-), it would
be nice to hear others and see where DJ wants the program to go.  If I
remember correctly, DJ said prior versions of setup were scriptable and that
this is on the to-do list.  Maybe he already has an idea of what to do.

- Erik


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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