delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/03/25/04:09:11

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <4BAB2C7E.2020302@gmail.com>
Date: Thu, 25 Mar 2010 09:27:26 +0000
From: Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Setup.ini file for Silent Install
References: <SNT112-W51F2D0814F3F5FAFE0A08A8E240 AT phx DOT gbl>
In-Reply-To: <SNT112-W51F2D0814F3F5FAFE0A08A8E240@phx.gbl>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 25/03/2010 09:02, Jonathan Cummings wrote:
> Sir/Madam, 

  Please feel free not to stand on formality round here :)

> Is it possible to get a setup.ini file to use along side
> setup.exe to allow us to install cygwin on multiple servers in our
> organisation?  -I would then like to add the details of the packages to be
> installed in to the setup.ini file for a silent installation across network
> on to our windows servers. 

  Setup.exe doesn't use a .ini file, but it does accept command-line arguments
to do all the things you want, so instead of a .ini file you could just
distribute a .bat file that contained the correct invocation.

  If you run "setup.exe --help", it will (according to windows version) output
help instruction either to the console or to a setup.log file in the current
directory:

> Command Line Options:
>  -D --download                          Download from internet
>  -L --local-install                     Install from local directory
>  -s --site                              Download site
>  -O --only-site                         Ignore all sites except for -s
>  -R --root                              Root installation directory
>  -P --packages                          Specify packages to install
>  -C --categories                        Specify entire categories to install
>  -p --proxy                             HTTP/FTP proxy (host:port)
>  -q --quiet-mode                        Unattended setup mode
>  -M --package-manager                   Semi-attended chooser-only mode
>  -h --help                              print help
>  -l --local-package-dir                 Local package directory
>  -r --no-replaceonreboot                Disable replacing in-use files on next
>                                         reboot.
>  -X --no-verify                         Don't verify setup.ini signatures
>  -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
>  -K --pubkey                            Path to extra public key file (gpg
>                                         format)
>  -S --sexpr-pubkey                      Extra public key in s-expr format
>  -u --untrusted-keys                    Use untrusted keys from last-extrakeys
>  -U --keep-untrusted-keys               Use untrusted keys and retain all
>  -A --disable-buggy-antivirus           Disable known or suspected buggy anti
>                                         virus software packages during
>                                         execution.

  You're going to want -q for automated installation and then your choice of
-P or -C options for the set of packages you want installed.

    cheers,
      DaveK




--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019