This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: missing setup command line arguments in the FAQ.


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@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@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@ubique ~]$ chmod a+x setup.exe 
> [davek@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@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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]