This is the mail archive of the cygwin 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]

Making a cygwin setup CD


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

Attachment: autorun.inf
Description: Binary data

Attachment: MakeCygwinKit
Description: Binary data

Attachment: MakeSetupIni.pl
Description: Binary data

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

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