X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,EXECUTABLE_URI,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <4B5460CF.7070602@gmail.com> Date: Mon, 18 Jan 2010 13:23:27 +0000 From: Dave Korn User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: missing setup command line arguments in the FAQ. References: <1263775049 DOT 398 DOT ezmlm AT cygwin DOT com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 G.W. Haywood wrote: >> BTW, if you run "setup.exe --help", it will (depending on OS >> version) either display the usage instructions to the screen, or >> dump them to a setup.log file in the directory where you run it. > > That's not correct (*): > > laptop:~$ >>> ./setup.exe > -bash: ./setup.exe: cannot execute binary file Well strictly it is, since I said what would happen if you ran it, and not what would happen if you _didn't_ run it (for whatever reason that might happen to be)! > Yes, one could just *try it*, if he had a Windows machine on which to > try it. *koff* Prepare to be shocked, amazed, awed and astounded! > [davek AT ubique ~]$ uname -a > Linux ubique.localdomain 2.6.27.21-170.2.56.fc10.i686 #1 SMP Mon Mar 23 23:37:54 EDT 2009 i686 athlon i386 GNU/Linux > [davek AT ubique ~]$ wget http://cygwin.com/setup.exe > --2010-01-18 13:20:58-- http://cygwin.com/setup.exe > Resolving cygwin.com... 209.132.180.131 > Connecting to cygwin.com|209.132.180.131|:80... connected. > HTTP request sent, awaiting response... 200 OK > Length: 624128 (610K) [application/octet-stream] > Saving to: `setup.exe' > > 100%[====================================================================================>] 624,128 28.6K/s in 16s > > 2010-01-18 13:21:15 (37.3 KB/s) - `setup.exe' saved [624128/624128] > > [davek AT ubique ~]$ chmod a+x setup.exe > [davek AT ubique ~]$ wine ./setup.exe --help > fixme:msvcrt:MSVCRT_setlocale :Codepage only locale not implemented > Starting cygwin install, version 2.677 > io_stream_cygfile: fopen(/etc/setup/setup.rc) failed 2 No such file or directory > io_stream_cygfile: fopen(/etc/setup/last-cache) failed 2 No such file or directory > io_stream_cygfile: fopen(/etc/setup/last-action) failed 2 No such file or directory > io_stream_cygfile: fopen(/etc/setup/net-method) failed 2 No such file or directory > io_stream_cygfile: fopen(/etc/setup/net-proxy-host) failed 2 No such file or directory > io_stream_cygfile: fopen(/etc/setup/net-proxy-port) failed 2 No such file or directory > io_stream_cygfile: fopen(/etc/setup/last-mirror) failed 2 No such file or directory > io_stream_cygfile: fopen(/etc/setup/extrakeys) failed 2 No such file or directory > io_stream_cygfile: fopen(/etc/setup/chooser_window_settings) failed 2 No such file or directory > Current Directory: Z:\home\davek > > Command Line Options: > -D --download Download from internet > -L --local-install Install from local directory > -s --site Download site > -O --only-site Ignore all sites except for -s > -R --root Root installation directory > -P --packages Specify packages to install > -C --categories Specify entire categories to install > -p --proxy HTTP/FTP proxy (host:port) > -q --quiet-mode Unattended setup mode > -h --help print help > -l --local-package-dir Local package directory > -r --no-replaceonreboot Disable replacing in-use files on next > reboot. > -X --no-verify Don't verify setup.ini signatures > -n --no-shortcuts Disable creation of desktop and start > menu shortcuts > -N --no-startmenu Disable creation of start menu shortcut > -d --no-desktop Disable creation of desktop shortcut > -K --pubkey Path to extra public key file (gpg > format) > -S --sexpr-pubkey Extra public key in s-expr format > -u --untrusted-keys Use untrusted keys from last-extrakeys > -U --keep-untrusted-keys Use untrusted keys and retain all > -A --disable-buggy-antivirus Disable known or suspected buggy anti > virus software packages during > execution. > Ending cygwin install > AddAccessAllowedAce(, owner) failed: 1337 > AddAccessAllowedAce(, group) failed: 1337 > AddAccessAllowedAce(, everyone) failed: 1337 > AddAccessAllowedAce(, owner) failed: 1337 > AddAccessAllowedAce(, group) failed: 1337 > AddAccessAllowedAce(, everyone) failed: 1337 > [davek AT ubique ~]$ :-) cheers, DaveK -- 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