Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
User-Agent: Microsoft-Entourage/10.0.0.1331
Date: Wed, 06 Feb 2002 00:03:45 -0500
Subject: Re: Scriptable start.exe
From: Joseph Annino <jannino@jannino.com>
To: cygwin <cygwin@cygwin.com>
Message-ID: <B8862361.3015%jannino@jannino.com>
In-Reply-To: <NCBBIHCHBLCMLBLOBONKMECLCKAA.g.r.vansickle@worldnet.att.net>
Mime-version: 1.0
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit

Well, considering that I just need to install a cygwin configured a certain
way, I think I found a way around this limitation.  Being able to script
setup.exe would be nice though.  Some package management ala RPM or
something would be nice, but I understand priorities.

So my work around:
- Install cygwin the way I like it on one computer
- Remove the .done extention from the stuff in the postprocess directory
- Copy the install to a CD or something
- Copy to the computer you want to install on
- Run a little perl script I just wrote that goes through the
/etc/postprocess directory and runs everything there, adding .done to the
end of each script when its done with it, just like the installer does.

This seems to work fine, but I haven't tried it on a "clean" install of
Windows yet.  Its getting late so I'll do that tommorow.

If anyone is interested in the perl script I can post it.  Its a rather
simple script, but does the job.



-- 
Joseph Annino Consulting - Perl, PHP, MySQL, Oracle, etc.
jannino@jannino.com - http://www.jannino.com


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

