Making a cygwin setup CD

Vin Shelton acs@alumni.princeton.edu
Mon Mar 19 21:21:00 GMT 2007


Greetings,

I have created a couple of scripts that I use to create a cygwin setup
kit that can be burned onto a CD.  I can then use that CD to install
cygwin on machines with no network access.  In addition, the scripts
tailor the setup.ini file so that the user can specify additional
packages to be installed by default when setup.exe is run.

I'm posting these files here in the hopes that others may find these
files useful.  Here's a brief description of the files:

autorun.inf - file to cause setup.exe to run automatically when the CD
is inserted.

MakeCygwinKit - zsh script to build the cygwin kit.  Help output is
pasted below:
  usage: MakeCygwinKit -hsv
         Create a cygwin setup kit in the subdirectory cygwin_disk-yyyy-mm-dd.
         The contents of cygwin_disk-yyyy-mm-dd can then be burned onto a CD.
         All cygwin base packages are included in the generated kit.  The
         contents of the file "extra_packages" (or the environment variable
         $extra_packages) can be used to specify additional packages to add
         to the generated kit.  All of the specified packages will be installed
         by default when setup.exe is run.
         In order for this script to work, the directory identified
         by the environment variable $cygwin_repo (which has a default value
         of "cygwin_repo") must contain a mirror image of the cygwin package
         repository.  You can use the -s option to bootstrap this directory.
         Options:
         -h Print this help message.
         -s Sync the packages with a cygwin mirror before running the script.
            The environment variable $cygwin_site specifies which
            cygwin mirror to use.
         -v Print progress messages.

MakeSetupIni.pl - this perl script, invoked by MakeCygwinKit,
generates the setup.ini file.


These scripts may or may not work for you 'out of the box', but I hope
people find these scripts useful or perhaps instructive.

Regards,
  Vin Shelton
-------------- next part --------------
A non-text attachment was scrubbed...
Name: autorun.inf
Type: application/octet-stream
Size: 43 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20070319/20ca1889/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MakeCygwinKit
Type: application/octet-stream
Size: 4140 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20070319/20ca1889/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MakeSetupIni.pl
Type: application/octet-stream
Size: 5194 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20070319/20ca1889/attachment-0002.obj>
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list