X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Tue, 23 Jun 2009 17:55:18 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: setup-1.7.exe command line options Message-ID: <20090623215518.GA7693@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <416096c60906231407x78a02efetcff3ca806bee5168 AT mail DOT gmail DOT com> <786EBDA1AC46254B813E200779E7AD36139E35 AT srv1163ex1 DOT flightsafety DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <786EBDA1AC46254B813E200779E7AD36139E35@srv1163ex1.flightsafety.com> User-Agent: Mutt/1.5.19 (2009-01-05) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 Tue, Jun 23, 2009 at 04:13:39PM -0500, Thrall, Bryan wrote: >Andy Koppe wrote on Tuesday, June 23, 2009 4:08 PM: > >> 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 Download from internet > -L --local-install Install from local directory > -s --site Download site > -R --root Root installation directory > -P --packages Specify 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. I added this functionality recently. It may not work when dumping to the console since it relies on a Windows function call which isn't availabe on older versions of Windows. But 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=tty should work as well. cgf -- 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