This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Scriptable start.exe


----- Original Message -----
From: "Joseph Annino" <jannino@jannino.com>
To: "cygwin" <cygwin@cygwin.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]