From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17754 invoked by alias); 7 Mar 2014 18:09:31 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 17741 invoked by uid 89); 7 Mar 2014 18:09:30 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-HELO: smtprelay.hostedemail.com Received: from smtprelay0001.hostedemail.com (HELO smtprelay.hostedemail.com) (216.40.44.1) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 07 Mar 2014 18:09:28 +0000 Received: from filter.hostedemail.com (ff-bigip1 [10.5.19.254]) by smtprelay07.hostedemail.com (Postfix) with ESMTP id 56DB1C20B9 for ; Fri, 7 Mar 2014 18:09:26 +0000 (UTC) X-Session-Marker: 6A62656E6973746F6E40756B322E6E6574 X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,jon@beniston.com,:,RULES_HIT:10:41:355:379:541:542:599:973:982:988:989:1155:1260:1277:1311:1313:1314:1345:1437:1515:1516:1518:1534:1540:1587:1593:1594:1711:1730:1747:1777:1792:2110:2393:2559:2562:3138:3139:3140:3141:3142:3352:3865:3866:3867:3868:3871:3872:3873:3874:5007:6119:10004:10394:10400:10848:11232:11658:11914:12517:12519:12663:13069:13311:13357:14096:14097,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0 X-HE-Tag: fly07_6f603e1022e3c X-Filterd-Recvd-Size: 1622 Received: from LoftPC (cpc22-croy19-2-0-cust300.19-2.cable.virginm.net [82.43.175.45]) (Authenticated sender: jbeniston@uk2.net) by omf04.hostedemail.com (Postfix) with ESMTPA for ; Fri, 7 Mar 2014 18:09:25 +0000 (UTC) From: "Jon Beniston" To: References: In-Reply-To: Subject: RE: setup-x86.exe exits before installation is complete Date: Fri, 07 Mar 2014 20:23:00 -0000 Message-ID: <00a901cf3a30$63b4d3b0$2b1e7b10$@beniston.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-SW-Source: 2014-03/txt/msg00104.txt.bz2 >> 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. Cheers, Jon -- 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