delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/24/02:00:58

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_63,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <20090623215518.GA7693@ednor.casa.cgf.cx>
References: <416096c60906231407x78a02efetcff3ca806bee5168 AT mail DOT gmail DOT com> <786EBDA1AC46254B813E200779E7AD36139E35 AT srv1163ex1 DOT flightsafety DOT com> <20090623215518 DOT GA7693 AT ednor DOT casa DOT cgf DOT cx>
Date: Wed, 24 Jun 2009 07:00:40 +0100
Message-ID: <416096c60906232300q176f3d98wc16a9bedd731632a@mail.gmail.com>
Subject: Re: setup-1.7.exe command line options
From: Andy Koppe <andy DOT koppe AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

2009/6/23 Christopher Faylor:
> On Tue, Jun 23, 2009 at 04:13:39PM -0500, Thrall, Bryan wrote:
> >> Where can I find documentation on the setup-1.7.exe command line
> >> options, in particular the one for installing packages without
> >> invoking the GUI that I think was added last year?
> >>
> >> I had a look in all the places I could think of, but without success,
> >> and invoking setup with -h, -H, -help or --help does nothing.
> >
> >I guess you are using an older setup-1.7.exe; When I type 'setup-1.7.exe
> >-h', I get:
> >
> >$ setup-1.7.exe -h
> >Starting cygwin install, version 2.629
> >Current Directory: E:\My Downloads
> >
> >Command Line Options:
> > -D --download =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Download from internet
> > -L --local-install =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 Install from local directory
> > -s --site =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Download site
> > -R --root =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Root installation directory
> > -P --packages =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Specify packages to install
> >[snip]
> >
> >Older versions of setup just wrote this output to setup.log and
> >setup.log.full in the directory where setup was run, but now it writes
> >it to stdout, too :)
>
> Yep. =C2=A0I added this functionality recently. =C2=A0It may not work whe=
n dumping
> to the console since it relies on a Windows function call which isn't
> availabe on older versions of Windows. =C2=A0But this should work:
>
> setup-1.7 -h | cat
>
> (I recently got a cygwin crash doing something like this on Windows NT4.
> I plan to debug that crash this weekend)
>
> Also, running it from mintty or with CYGWIN=3Dtty should work as well.

I had actually downloaded the latest setup-1.7.exe, but I must have
invoked the wrong one when I tried it. D'oh.

The -P option is working nicely, especially when combined with -q for
unattended install. Throw 'cygcheck -p' into the mix, and this should
keep the apt-getters happy. Thanks to everyone involved!

Andy

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