This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: setup 2.871 fails from command line on Windows 7 with "setup-x86.exe has stopped working"


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]