delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/02/06/00:37:19

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
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <009101c1aed0$2e0896f0$0d00a8c0@mchasecompaq>
From: "Michael A Chase" <mchase AT ix DOT netcom DOT com>
To: "Joseph Annino" <jannino AT jannino DOT com>, "cygwin" <cygwin AT cygwin DOT com>
References: <B8862361.3015%jannino AT jannino DOT com>
Subject: Re: Scriptable start.exe
Date: Tue, 5 Feb 2002 21:26:38 -0800
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

----- Original Message -----
From: "Joseph Annino" <jannino AT jannino DOT com>
To: "cygwin" <cygwin AT cygwin DOT com>
Sent: Tuesday, February 05, 2002 21:03
Subject: Re: Scriptable start.exe


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

If you are going to execute them from your Perl script, you don't need to
remove the .done.

Don't forget to add c:\cygwin\bin (or the equivalent) to the system %PATH%.

You also need to save and restore mount points:

# Save the mount points
# (can run under either bash or cmd.exe or command.com)
mount -m > mounts.bat

REM Restore the mount points
REM (could also run in bash, but bash would need the mount points)
mounts

--
Mac :})
** I normally forward private questions to the appropriate mail list. **
Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.htm
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.




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

- Raw text -


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