From 5d897c0f5cb400e5b3c30b3ab057abffd128011f Mon Sep 17 00:00:00 2001 From: Joshua Daniel Franklin Date: Fri, 2 Jun 2006 04:36:48 +0000 Subject: [PATCH] Add faq.setup.automated --- winsup/doc/ChangeLog | 4 ++++ winsup/doc/faq-setup.xml | 49 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/winsup/doc/ChangeLog b/winsup/doc/ChangeLog index a747f7490..1eb86c5c4 100644 --- a/winsup/doc/ChangeLog +++ b/winsup/doc/ChangeLog @@ -1,3 +1,7 @@ +2006-06-01 Joshua Daniel Franklin + + * faq-setup.xml (faq.setup.automated): New FAQ. + 2006-05-30 Dave Korn * faq-api.xml (faq.api.winsock): Replace references to depracated diff --git a/winsup/doc/faq-setup.xml b/winsup/doc/faq-setup.xml index 00d4719bd..c64cc4ce4 100644 --- a/winsup/doc/faq-setup.xml +++ b/winsup/doc/faq-setup.xml @@ -23,6 +23,55 @@ see http://cygwin.com/packages/ + +What about an automated Cygwin installation? + + +The Cygwin Setup program is designed to be interactive, but there are +a few different ways to automate it. If you are deploying to multiple systems, +the best way is to run through a full installation once, saving the entire +downloaded package tree. Then, on target systems, run setup.exe as a "Local +Install" pointed at your downloaded package tree. You could do this +non-interactively with the command line options +setup.exe -q -L -l x:\cygwin-local\, where your downloaded +package tree is in x:\cygwin-local\ (see the next FAQ for +an explanation of those options.) + + +For other options, search the mailing lists with terms such as +cygwin automated setup or +automated cygwin install. + + + + +Does setup.exe accept command-line arguments? + + +Yes, the full listing is written to the setup.log file +when you run setup.exe --help. The current options are: + +Command Line Options: + -D --download Download from internet + -L --local-install Install from local directory + -s --site Download site + -R --root Root installation directory + -q --quiet-mode Unattended setup mode + -h --help print help + -l --local-package-dir Local package directory + -r --no-replaceonreboot Disable replacing in-use files on next + reboot. + -n --no-shortcuts Disable creation of desktop and start + menu shortcuts + -N --no-startmenu Disable creation of start menu shortcut + -d --no-desktop Disable creation of desktop shortcut + -A --disable-buggy-antivirus Disable known or suspected buggy anti + virus software packages during + execution. + + + + Why not install in C:\?