delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/04/28/12:10:09

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4DB99143.6080809@tlinx.org>
Date: Thu, 28 Apr 2011 09:09:39 -0700
From: Linda Walsh <cygwin AT tlinx DOT org>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.24) Thunderbird/2.0.0.24 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: Using 'setup.exe' from command line / commandline ops
X-Stationery: 0.5.1
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

I am trying to use setup.exe from the command line to install a single
package (bash).

I found the help switch -h (Suggestion: why not have any wrong switch specification display the help?).

I don't need the short cuts, and it says to use -P to specify packages

It doesn't say what values are used if they aren't specified on the
command line, but given the GUI behavior of using all previous values
for 'defaults' *except* for the one regarding short-cuts (which seems
to default to true regardless of previous selections), is it safe to
assume that the command line version does the same?

Assuming that was the case, I tried
setup -n -P bash

It then proceeded to run the GUI as though nothing had been specified
on the command line.  It lead me through all the normal selections
(hitting Enter, to take defaults), and when I got to package selections,
it selected 'ALL needing updates', instead of just 'bash'.

So why didn't it just select bash for install?

How do I just select a single package for install?



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