X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=RF11mhF142nNV/WBnRl8Sz+7dfQi60HCcfznUGhtdsaz4NFOadKyq LCduyzY+Uf7tJuJTwEwRF+6QngjhcNY5b2zKCkCfCefoSzP9W16yxPTw4dzIrd+5 YmrlBiF8WhPfSTtElnpDKa9K0IdC3DDz9atrL6K5T1BjhyT6KZ5shs= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=ESmyUtnGQgOgDuAYNhnvQsgeZQI=; b=XClvmhwXAG1QNOgp71zcv7RUeJjA 7yvP0GKNKLwMso9v/DXz/+04RQCC1OO/ffDCfXcqgRTMDlIWSRwz/qtMmcn/Q3VT S6bQWZKTSZZkgjzTyvGplWhZR8TohnO5jr7oMsPZ4yrd3mz3BkkCCQ8I6+Ey0eYh rByPM40bZqLRVOc= 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Date: Mon, 10 Mar 2014 12:12:40 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: setup-x86.exe exits before installation is complete Message-ID: <20140310111240.GD2828@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <00a901cf3a30$63b4d3b0$2b1e7b10$@beniston.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="T7mxYSe680VjQnyC" Content-Disposition: inline In-Reply-To: <00a901cf3a30$63b4d3b0$2b1e7b10$@beniston.com> User-Agent: Mutt/1.5.21 (2010-09-15) --T7mxYSe680VjQnyC Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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). > >>=20 > >> 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? >=20 > I can't immediately see a way to do that with the installer package I'm > using, but I can probably find a workaround. >=20 > 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 --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --T7mxYSe680VjQnyC Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJTHZ4nAAoJEPU2Bp2uRE+gp1oP/3y0NGQBJAeX+8kL9UppS0Zq Rv9MjzmVX8RWRJHLPtyWTmTHFvu5fbru+J1OelgHYjhaNiXl6VT+TXygsgy8A5sp HSzS4H2y08UFognTzuaWBqn655pS4YDDAADGYKIjLrn+fKeE7c5aPpUxQskPX7BV TQWCG7B5UAzrXFjG62Dd4S7msfdgoRaQGdkU+xIXAEmwcFieDq4Uux79ze8i9yrx loxjY7reMz7wYZ/uqquwxUa9ODFMyC+oA2BqMdIIxVj/Tq9yOo7vjKHAbPcr6R7F mizjQ1aj5mbA1rxNLNemI6Jj7xcrjmc/Pho2vbO2XYdHdJkRLR1vzfGWMPZvJCMo sTVmWiIrcKYp8V/4NFhokude6tT9ePdJHZhOcdCJyjkqkYXOP/ZdUpQ//Mu5Oi6X IGFzSTYdCoBDpjjq4C0lT3Ib9Fk8nY7G7Er6Gr0+tANSX1uwZobrpXe8yHJyxnt0 75w0kRuz1J7HlynPSlqHt0cDQGHeD2ZZJsBnoGwf9cVGwtOR0uUox416hWq40jT6 uUSXhRRwN+9S5J5NFlE3VTpYlIMOtb0yg5Pm5xNGd1ZfwMuLQhvsJ6e48lw952jA qN1fw46eYHxG+cf1Wx7OUOvUk+EkQfFMav2UPuJY/kXZzl4rJFYyaE3hiddjiFyG fc0xXS4Hp4iNYJAX2Y7F =GyHg -----END PGP SIGNATURE----- --T7mxYSe680VjQnyC--