delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/07/08/02:56:58

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:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; q=dns; s=
default; b=f0BDumzsmGCm2c6Gdu31TsEo0nnQZns68W1WlDqZXIFNzknqvG2NX
cbpmpsfxutMXeQ7ENcQPYMy00iydZULKISns7/y9MzzwTsoOwmjqHOMxHBHdiT9Q
GFvCQivgJW0Lk4wlm8quFnZh7d3mr6HJbb8kdqcJQvwI6Rv4LgSIzE=
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:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; s=default;
bh=RBXzr8uuHWgSN0O7A2GpJZKu6yw=; b=su4NkJIaxQdkx0Ek93mpAUJSeJwk
WBbn9QP7LQdchdmVBTXexPbHzJ8rY6oh6Yx6TG06AwEQp+OOrMT1ek2hVuwCIs4N
FqurYk0nA8t7M0pIyfSoR7ZeFW6qsalEcFzGAvSiFSKmMLMOPonea1OdHbkX04WD
yHEsOXhvA+xoDF0=
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=-4.1 required=5.0 tests=AWL,BAYES_20,FSL_HELO_BARE_IP_2,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2
X-HELO: plane.gmane.org
To: cygwin AT cygwin DOT com
From: Achim Gratz <Stromeko AT NexGo DOT DE>
Subject: Re: setup 2.871 fails from command line on Windows 7 with "setup-x86.exe has stopped working"
Date: Wed, 8 Jul 2015 06:56:27 +0000 (UTC)
Lines: 47
Message-ID: <loom.20150708T084837-661@post.gmane.org>
References: <B1FFB213BA2D7B46B86239071103FCB9A49715E6 AT srvne111 DOT csem DOT local>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes

MORGAN Marc <Marc.MORGAN <at> csem.ch> writes:
> Even running just "setup-x86.exe -h" gives a "setup-x86.exe has stopped
working" pop up message after
> having displayed the help message.

That message comes from Windows when it thinks that the application
terminated in an unusual way.

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

That sounds like some other process inserts itself into the start and
termination of setup-x86.exe.  Try renaming it to something that doesn't
have "setup" in it and/or check that you haven't earlier set the application
to run in some "compatibility" mode.

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

You've read the question wrong and misinterpreted the answer as a result:
setup.exe is not a Cygwin application and it has limited functionality to
keep it manageable.  You can do an install from the command-line with it,
but it requires a lot more preparation than a proper package manager and it
still runs as a Windows GUI program.


Regards,
Achim



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