delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/04/03/00:20:29

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=BAYES_00,TW_RX
X-Spam-Check-By: sourceware.org
Message-ID: <4BB6CFED.4030201@bopp.net>
Date: Sat, 03 Apr 2010 00:19:41 -0500
From: Jeremy Bopp <jeremy AT bopp DOT net>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Making package installation default
References: <hp5up2$l9q$1 AT dough DOT gmane DOT org> <4BB681CA DOT 2090208 AT bopp DOT net> <hp6blq$h4m$1 AT dough DOT gmane DOT org> <4BB6C3D4 DOT 8000003 AT cygwin DOT com> <hp6gh4$q5i$1 AT dough DOT gmane DOT org> <4BB6C883 DOT 4020301 AT cygwin DOT com>
In-Reply-To: <4BB6C883.4020301@cygwin.com>
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

Larry Hall (Cygwin) wrote:
> On 4/3/2010 12:34 AM, Andrew DeFaria wrote:
>> On 04/02/2010 09:28 PM, Larry Hall (Cygwin) wrote:
>> And yes a .bat file that you double click would probably suffice however
>> there is something in the whole setup structure that make certain
>> packages install by default (e.g. bash.exe) and other packages come up
>> as "Skip" (i.e. OpenSSH). I'd like to toggle it on for OpenSSH and rxvt
>> such that when setup.exe runs and they get to the package selection
>> screen, it says the version number for these and will install them by
>> default (IOW it won't list them as "Skip"). Is that too much to ask?
> 
> One can always ask.
> 
> If you don't mind fiddling around with the setup.ini file, then the key
> thing is to edit this file and change the category of the desired packages
> to "Base".

There's no need to edit setup.ini.  Just use the -P option and name the
packages you want to install in a comma separated list.  The packages
you list, those packages' dependencies, and all of the base packages
will be installed.

It gets even better once you look through the other command line options
listed with --help because you can automate installation selections to
the point that the users don't have to do anything more than run your
batch file.  They won't have to interact with any of setup.exe directly.
 The only thing they will see is the window showing the package
installation progress which they can cancel if they choose.

-Jeremy

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