Re: skipping initial setup screens for existing installation with setup.exe?

2010-12-08 Thread Andrey Repin
Greetings, Jeremy Bopp!

 On 12/7/2010 2:08 PM, Andrey Repin wrote:
 If this normal for setup ?
 
 $ ./setup.exe --help
 Starting cygwin install, version 2.721
 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: \\DAEMON1\arc\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

 That's the output I see when running under cmd, and I have to hit Enter
 to get the prompt back.  That same command under bash works great
 though.  I suspect I have to hit Enter by design so that if someone ran
 setup --help with a shortcut they would have a chance to see the output
 before the cmd window closed.

You don't need to hit Enter, you DO have prompt in cmd BEFORE setup start to
print it all into window. (Therefore, the prompt is licated atop of that pile
of text, but that's a problem with Windows native console handling, bash don't
have this issue, not with setup.exe at least)

My question was, considering it's location on a network share
\\DAEMON1\arc\cygwin\install , what it looking for in the quoted places, and
is it normal to have these failed attempts, or do I gain any advantage having
the files it's looking for?


--
WBR,
 Andrey Repin (anrdae...@freemail.ru) 08.12.2010, 14:11

Sorry for my terrible english...


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



Re: skipping initial setup screens for existing installation with setup.exe?

2010-12-08 Thread Corinna Vinschen
On Dec  7 23:08, Andrey Repin wrote:
 $ ./setup.exe --help
 Starting cygwin install, version 2.721
 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: \\DAEMON1\arc\cygwin\install
 
 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 --categoriesSpecify entire categories to install
  -p --proxy HTTP/FTP proxy (host:port)
  -q --quiet-modeUnattended setup mode
  -M --package-manager   Semi-attended chooser-only mode
  -h --help  print help
  -l --local-package-dir Local package directory
  -r --no-replaceonrebootDisable 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-desktopDisable creation of desktop shortcut
  -K --pubkeyPath to extra public key file (gpg
 format)
  -S --sexpr-pubkey  Extra public key in s-expr format
  -u --untrusted-keysUse 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

Oh well, that's kind of ugly.  What also bugs me right now is the fact
that setup,exe always writes a log file, even if not even a target
directory has been choosen.  I'd appreciate if the logs are only
written if something really happened.

As always, patches to setup.exe are very welcome.  Send them to the
cygwin-apps list.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat

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



Re: skipping initial setup screens for existing installation with setup.exe?

2010-12-08 Thread Christopher Faylor
On Wed, Dec 08, 2010 at 02:11:08PM +0100, Corinna Vinschen wrote:
On Dec  7 23:08, Andrey Repin wrote:
 $ ./setup.exe --help
 Starting cygwin install, version 2.721
 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: \\DAEMON1\arc\cygwin\install
 
 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 --categoriesSpecify entire categories to install
  -p --proxy HTTP/FTP proxy (host:port)
  -q --quiet-modeUnattended setup mode
  -M --package-manager   Semi-attended chooser-only mode
  -h --help  print help
  -l --local-package-dir Local package directory
  -r --no-replaceonrebootDisable 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-desktopDisable creation of desktop shortcut
  -K --pubkeyPath to extra public key file (gpg
 format)
  -S --sexpr-pubkey  Extra public key in s-expr format
  -u --untrusted-keysUse 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

Oh well, that's kind of ugly.  What also bugs me right now is the fact
that setup,exe always writes a log file, even if not even a target
directory has been choosen.  I'd appreciate if the logs are only
written if something really happened.

Yeah, when I implemented the help output, I always meant to clean this
up.  I'll look into doing that over the weekend.

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



skipping initial setup screens for existing installation with setup.exe?

2010-12-07 Thread Steven Lefevre
When I want to install a new package in my existing cygwin
installation, I fire up setup.exe and blow through the first couple
screens that ask me about installation directory, mirrors, packages
directory, etc, to get to the package installation menu.

Is there a way I can skip those initial setup screens and go straight
to package selection once I have my installation going?

Steve Lefevre

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



Re: skipping initial setup screens for existing installation with setup.exe?

2010-12-07 Thread Jeremy Bopp
On 12/7/2010 1:43 PM, Steven Lefevre wrote:
 When I want to install a new package in my existing cygwin
 installation, I fire up setup.exe and blow through the first couple
 screens that ask me about installation directory, mirrors, packages
 directory, etc, to get to the package installation menu.
 
 Is there a way I can skip those initial setup screens and go straight
 to package selection once I have my installation going?

Run setup.exe --help for a full list of command line options.  The
option you want is -M.

-Jeremy

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



Re: skipping initial setup screens for existing installation with setup.exe?

2010-12-07 Thread Steven Lefevre
On Tue, Dec 7, 2010 at 2:47 PM, Jeremy Bopp jer...@bopp.net wrote:

 Run setup.exe --help for a full list of command line options.  The
 option you want is -M.


Hello Jeremy -

Thanks for your help :)

I had tried the -M option, but got no window. Perhaps there's another
problem that's causing my symptoms.

I'm using Windows Vista. I have a shortcut on the desktop that
launches setup.exe. I've tried both the -M and --help switches, with
and without 'Run As Administrator' checked, but I get no window.
However, the shortcut works ( the window appears with the initial
screen) when I remove the switches.

I also tried the switches in cmd, both as and not as Administrator,
also with no windows appearing. But again, the setup window launches
okay when I use no switches.

Also I had noticed that the -M switch is not listed in the FAQ
http://cygwin.com/faq/faq-nochunks.html#faq.setup.cli

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



Re: skipping initial setup screens for existing installation with setup.exe?

2010-12-07 Thread Andrey Repin
Greetings, Jeremy Bopp!

 Run setup.exe --help for a full list of command line options.

Hm.

If this normal for setup ? (look for dump after signature)


--
WBR,
 Andrey Repin (anrdae...@freemail.ru) 07.12.2010, 23:07

Sorry for my terrible english...

$ ./setup.exe --help
Starting cygwin install, version 2.721
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: \\DAEMON1\arc\cygwin\install

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 --categoriesSpecify entire categories to install
 -p --proxy HTTP/FTP proxy (host:port)
 -q --quiet-modeUnattended setup mode
 -M --package-manager   Semi-attended chooser-only mode
 -h --help  print help
 -l --local-package-dir Local package directory
 -r --no-replaceonrebootDisable 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-desktopDisable creation of desktop shortcut
 -K --pubkeyPath to extra public key file (gpg
format)
 -S --sexpr-pubkey  Extra public key in s-expr format
 -u --untrusted-keysUse 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


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



Re: skipping initial setup screens for existing installation with setup.exe?

2010-12-07 Thread Jeremy Bopp
On 12/7/2010 2:08 PM, Andrey Repin wrote:
 If this normal for setup ?
 
 $ ./setup.exe --help
 Starting cygwin install, version 2.721
 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: \\DAEMON1\arc\cygwin\install
 
 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 --categoriesSpecify entire categories to install
  -p --proxy HTTP/FTP proxy (host:port)
  -q --quiet-modeUnattended setup mode
  -M --package-manager   Semi-attended chooser-only mode
  -h --help  print help
  -l --local-package-dir Local package directory
  -r --no-replaceonrebootDisable 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-desktopDisable creation of desktop shortcut
  -K --pubkeyPath to extra public key file (gpg
 format)
  -S --sexpr-pubkey  Extra public key in s-expr format
  -u --untrusted-keysUse 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

That's the output I see when running under cmd, and I have to hit Enter
to get the prompt back.  That same command under bash works great
though.  I suspect I have to hit Enter by design so that if someone ran
setup --help with a shortcut they would have a chance to see the output
before the cmd window closed.

-Jeremy

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



Re: skipping initial setup screens for existing installation with setup.exe?

2010-12-07 Thread Jeremy Bopp
On 12/7/2010 2:03 PM, Steven Lefevre wrote:
 On Tue, Dec 7, 2010 at 2:47 PM, Jeremy Bopp jer...@bopp.net wrote:
 
 Run setup.exe --help for a full list of command line options.  The
 option you want is -M.

 
 Hello Jeremy -
 
 Thanks for your help :)
 
 I had tried the -M option, but got no window. Perhaps there's another
 problem that's causing my symptoms.

You should see a window, so that's odd.

 I'm using Windows Vista. I have a shortcut on the desktop that
 launches setup.exe. I've tried both the -M and --help switches, with
 and without 'Run As Administrator' checked, but I get no window.
 However, the shortcut works ( the window appears with the initial
 screen) when I remove the switches.
 
 I also tried the switches in cmd, both as and not as Administrator,
 also with no windows appearing. But again, the setup window launches
 okay when I use no switches.

I wish I could help more, but I don't have a Vista installation on which
to try this.  It *should* work though.  The setup maintainer should be
able to give you more detailed pointers once he sees the thread.

Something to look for are the log files setup creates when running:

http://cygwin.com/faq/faq-nochunks.html#faq.setup.setup-fails

Perhaps those logs have useful information.

 Also I had noticed that the -M switch is not listed in the FAQ
 http://cygwin.com/faq/faq-nochunks.html#faq.setup.cli

Good catch.  I'm not sure of the exact procedure, but I believe that a
patch with the updated information would be accepted.

-Jeremy

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



Re: skipping initial setup screens for existing installation with setup.exe?

2010-12-07 Thread Illia Bobyr
On 12/7/2010 2:03 PM, Steven Lefevre wrote:
 [...]
 I had tried the -M option, but got no window. Perhaps there's another
 problem that's causing my symptoms.

 I'm using Windows Vista. I have a shortcut on the desktop that
 launches setup.exe. I've tried both the -M and --help switches, with
 and without 'Run As Administrator' checked, but I get no window.
 However, the shortcut works ( the window appears with the initial
 screen) when I remove the switches.

-M works for me on XP and 7.

Maybe you are supplying the -M argument incorrectly in your shortcut?
You may have double quotes around the setup.exe path.  Make sure to put 
the arguments outside the quotes.

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