This is the mail archive of the
mailing list for the Cygwin project.
Re: Scriptable start.exe
- 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>
- Date: Tue, 5 Feb 2002 21:26:38 -0800
- Subject: Re: Scriptable start.exe
- References: <B8862361.firstname.lastname@example.org>
----- Original Message -----
From: "Joseph Annino" <email@example.com>
To: "cygwin" <firstname.lastname@example.org>
Sent: Tuesday, February 05, 2002 21:03
Subject: Re: Scriptable start.exe
> Well, considering that I just need to install a cygwin configured a
> 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)
** 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