public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Arkady <larytet@gmail.com>
To: cygwin@cygwin.com
Subject: Re: cygwin installation fails in Windows 10 when running with --quite-mode
Date: Tue, 19 Dec 2017 09:51:00 -0000	[thread overview]
Message-ID: <CANA-60oR+VyYhkySdMKOA77YvbTQ6kAH8-K8ai_CLbGDKzAfxg@mail.gmail.com> (raw)
In-Reply-To: <CANA-60qzXQu7cEqJrdhuTUnSLYPSD9zVMQF2w1ejQ-uwEAWHmQ@mail.gmail.com>

Another update: the quite mode sometimes succeeds. I estimate that the
success rate is 30%. It rarely succeeds very first time.

The problem is definitely not new. See, for example,
https://github.com/boxcutter/windows/blob/master/floppy/cygwin.bat#L50
The batch start with rather encouraging "Force CYGWIN_ARCH to 32-bit -
64-bit seems to crash a lot"
Indeed 32 bits installer sometimes works.

On Mon, Dec 18, 2017 at 8:50 PM, Arkady <larytet@gmail.com> wrote:
> Reproduced again with Autounattend.xml
> My goal is to prepare a Windows machine with Cygwin installed. I am
> trying to script the process.
>
> I have the following section the Autounattend.xml file
>
>                 <SynchronousCommand wcm:action="add">
>                     <CommandLine>cmd.exe /c
> C:\Windows\Temp\setup-x86.exe -q -R C:\cygwin -l C:\Windows\Temp
> --packages "wget,zip,screen" -s
> http://cygwin.mirror.constant.com</CommandLine>
>                     <Description>Install Cygwin</Description>
>                     <Order>99</Order>
>                     <RequiresUserInput>true</RequiresUserInput>
>                 </SynchronousCommand>
>
>
> The whole file is
> https://github.com/larytet/auto-win/blob/master/autounattend/packer-floppy-win10/Autounattend.xml
>
> The installation fails with the same "setu-x86.exe has stopped
> working". I do not see output, but I bet that this is the same
> "Changing gid to
> Administrators" problem.
> I suspect that this is something related to running as an
> Administrator or System.
>
> I will greatly appreciate any tip.
>
>
> On Mon, Dec 18, 2017 at 7:41 PM, Arkady <larytet@gmail.com> wrote:
>> I tried again on the clean Windows VM
>>
>> setup-x86_64.exe -q -B -R C:\Users\user\Downloads -s
>> http://cygwin/mirror/constant.com
>>
>> After that I tried
>>
>>
>> setup-x86_64.exe -q -B -R C:\Users\user\Downloads -s
>> http://cygwin/mirror/constant.com -p wget,screen
>>
>> Both worked. Looks like my bad
>>
>> On Mon, Dec 18, 2017 at 7:27 PM, Arkady <larytet@gmail.com> wrote:
>>> Hi,
>>>
>>> I am trying to do:
>>>
>>> setup-x86_64.exe -q -p wget -v
>>>
>>> The installation fails with the last line "Changing gid to
>>> Administrators" and a small dialog box "setup-x86_64.exe" has stopped
>>> working A problem caused the program to stop working correctly..."
>>>
>>> I tried
>>> setup-x86_64.exe -q -p wget -v -B
>>> and
>>> setup-x86_64.exe -q -p wget -v -B -R C:\Windows\Temp
>>>
>>> The same result - the setup fails
>>> The interactive GUI installation works fine.
>>> The quite mode fails to install/update Cygwin on the machin where it
>>> is already installed.
>>>
>>>
>>> What am I missing?
>>>
>>> Thanks.

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

  parent reply	other threads:[~2017-12-19  8:38 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-18 17:42 Arkady
2017-12-18 18:07 ` Arkady
2017-12-18 18:08   ` Arkady
2017-12-18 19:29     ` Arkady
2017-12-19  0:27   ` Arkady
2017-12-19  9:14     ` Brian Inglis
2017-12-19  9:51     ` Arkady [this message]
2017-12-19 12:46       ` Arkady
2017-12-19 14:22         ` Arkady
2017-12-19 18:38       ` cygwin installation fails in Windows 10 when running with --quiet-mode Brian Inglis
2017-12-20 12:25       ` cygwin installation fails in Windows 10 when running with --quite-mode Achim Gratz
2017-12-20 10:40 ` Achim Gratz
2017-12-20 12:39   ` Arkady
2017-12-20 12:43     ` Arkady
2017-12-20 12:59       ` Arkady
2017-12-20 14:08         ` Arkady
2017-12-20 16:14           ` Jon Turney
2017-12-20 16:38       ` n8tm via cygwin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CANA-60oR+VyYhkySdMKOA77YvbTQ6kAH8-K8ai_CLbGDKzAfxg@mail.gmail.com \
    --to=larytet@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).