delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/11/01/14:51:03

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
From: Jim Garrison <jim DOT garrison AT troux DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Date: Mon, 31 Oct 2011 13:48:07 -0400
Subject: Install all packages from local repository?
Message-ID: <D0CBCC01C005D44CB4009B8A6B532BE41EF20010@IAD2MBX11.mex02.mlsrvr.com>
MIME-Version: 1.0
X-IsSubscribed: yes
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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id pA1Ip0iD004174

I need to create a "standard" Cygwin setup for a group of developers,
containing the defaults plus a customized selection of additional non-
default packages to be installed (ssh, vim, etc, about 70 total).

I have set up a local repository, on a network share, containing all the
packages that need to be installed.  I find however, that there's no
simple way to have setup.exe just install everything in the local
repository.  Each user has to go through the setup menu and individually
select all non-default packages, or they will not be installed.

The ultimate goal is to provide a batch script that runs setup.exe and
installs a pre-defined set of packages, either from a local repository
or from the Internet.  Ideally it runs headless but having to click
through the install dialogs is acceptable as long as the desired non-
default packages are selected without the user having to manually select
each one.

Is there anything in the local repository I can tweak to change the
install status of non-default packages so they will be installed?

As far as I can tell, the only way to do this currently is to 
explicitly list all the packages on the command line with the -P
option.  Is this the only way?

Any suggestions on how to best accomplish this would be greatly
appreciated.



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