delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/07/08/01:23:18

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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=BFswdEWAoTDfv3hc
0SGtiuUDKQIRMX1Vi2h4V6FN00Np0l0IlW0+qIiJXQbSz52KcpiyCq0aNZMdeBP7
VLPS/9QM1v3ypZFmDcN3B4MQTnZWDMC0OMXFeXv4PKxCaLBjQ3jgE1z92gV4UAYM
LJZeQ7MoFmt+ebeVx2EMVf1s9dw=
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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=mn5e291vaQX+FiAbCz2QGD
0cjYk=; b=fMZkFm4HSUwdCvlhmG/mW06Sx+fC02fd35oDfgdYvpPNi6q5lOihB5
Aia/B3KxV2P0xUKOXYDLV/q4Lco1RLhhL4JHKBMSWVp23EpcjLmEe1m9UIp3dZua
MUiwwcBaJqU1TKZM72+6ikAnGMLmvPdhpn4v3H8mEQsbup3ATAC54=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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=-2.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-wi0-f170.google.com
X-Received: by 10.180.88.201 with SMTP id bi9mr71795364wib.58.1436332790495; Tue, 07 Jul 2015 22:19:50 -0700 (PDT)
Subject: Re: setup 2.871 fails from command line on Windows 7 with "setup-x86.exe has stopped working"
To: cygwin AT cygwin DOT com
References: <B1FFB213BA2D7B46B86239071103FCB9A49715E6 AT srvne111 DOT csem DOT local>
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Message-ID: <559CB2ED.3040704@gmail.com>
Date: Wed, 8 Jul 2015 07:19:41 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1
MIME-Version: 1.0
In-Reply-To: <B1FFB213BA2D7B46B86239071103FCB9A49715E6@srvne111.csem.local>
X-IsSubscribed: yes

On 7/8/2015 1:24 AM, MORGAN Marc wrote:
> Hi,
>
> Setup of cygwin keeps failing when called from the DOS command line on my Windows 7 PC (which has a Cygwin 1.7.x installed in a separate root directory).
>
> Even running just "setup-x86.exe -h" gives a "setup-x86.exe has stopped working" pop up message after having displayed the help message.

I assume you are sure the file is not corrupted.
Likely a BLODA/Antivirus is interfering with the program

> I'm trying to use it to do a quiet install of all packages from my local package directory which installed interactively correctly on another Windows XP PC.
> Setup starts by asking for my password to validate admin rights. Then it gives 2 fail messages about missing files: /etc/setup/installed.db and /etc/setup/timestamp
> Nonetheless, the installation process runs: adding dependencies, extracting files and running postinstalls. But I get 2 "setup-x86.exe has stopped working" pop up messages in this case (close to the beginning and end of the installation run)
>
> I've tried with and without the --packages option. I couldn't find any documentation for setup so there is no way of knowing what happens when the option is not used. I tried with just Cygwin* packages or with my full list of packages explicitly on the command line. When I run "cygcheck -c" at the end, some packages are clearly missing from the list.
>
> Am I the only one experiencing this problem? What am I doing wrong?

Never had a problem.
As experiment try rename the program cygwin-x86.exe

There is a "security by idiocy" feature on Windows and programs with 
setup or install in the name are managed sometime in strange way.


> Thanks in advance,
> Marc
>
> PS: and BTW the answer on the Cygwin web site about "Q: Is there a command-line installer?" does not make sense to me. "[...] The basic reason for not having a more full-featured package manager is that such a program would need full access to all of Cygwin's POSIX functionality. That is, however, difficult to provide in a Cygwin-free environment, such as exists on first installation. [...]" If setup can install Cygwin interactively from a Cygwin-free environment, what should keep it from doing it from the DOS command line too?
>

Not clear to me your question, setup-x86.exe is not a cygwin program.
You can run it from cygwin bash but it is not required.
It works fine when run from cmd prompt. I have several .BAT file in the 
same directory to run it as package manager for automatic installation.

Regards
Marco




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

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019