public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: setup-x86.exe exits before installation is complete
Date: Mon, 10 Mar 2014 14:28:00 -0000	[thread overview]
Message-ID: <20140310111240.GD2828@calimero.vinschen.de> (raw)
In-Reply-To: <00a901cf3a30$63b4d3b0$2b1e7b10$@beniston.com>

[-- Attachment #1: Type: text/plain, Size: 1447 bytes --]

On Mar  7 18:09, Jon Beniston wrote:
> >> It seems recent versions of setup-x86.exe exit before the installation is
> >> complete. Without the --no-admin option, the main installation is run as
> a
> >> child process, and the parent doesn't wait for the child to complete.
> This
> >> can cause a bit of a problem for other installers that install Cygwin (as
> >> when setup.exe exits, Cygwin isn't installed).
> >> 
> >> Is something like the attached patch appropriate? It just waits for the
> >> child process before exiting.
> >
> >Why don't you just run your installer as admin and use the --no-admin
> >option?
> 
> I can't immediately see a way to do that with the installer package I'm
> using, but I can probably find a workaround.
> 
> However, I thought the patch might be useful for anyone else who also
> installs Cygwin via some form of script or installer, as this reverts the
> default behaviour to as it was until recently.

"Recently" is more than three months ago...

It's kind of annoying having two setup processes in memory for no
apparentl reason.  However, I see your point.  Therefore I applied
a variation of your patch which waits for the elevated child if the
-W or --wait option is ginve on the command line.


Hope that helps,
Corinna

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

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2014-03-10 11:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-07 20:23 Jon Beniston
2014-03-10 14:28 ` Corinna Vinschen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-03-06 12:42 Jon Beniston
2014-03-07 16:28 ` Corinna Vinschen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140310111240.GD2828@calimero.vinschen.de \
    --to=corinna-cygwin@cygwin.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).