delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/12/19/00:36:01

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:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=bokFBOFJb+EwRrCv
YFTo45TFlvZW8yS1KtEF2HL+Qo3dz4b/DSVqw9ZOk22adQZthiMq9WXP8N7zRhgP
H+gn1kysvIeE5W4ok7tSgx4WH2HbGyu/wT+gyUBlXq97a5zDTU2NxfkKQGPXhrA4
gDIKcJHqA756V2O+RPIvZCAmtgg=
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:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=8/lwCd53A0Agy2NtvA/M37
n79oo=; b=gUpEDyiKuM8L7RROOf5CRU+bXg3cKesYVLr7fyMKmeEh9sNNPI0RFz
GWDedsBPfzs9XYZaiCH36uqriFQfBxKdBSY2xFesO8ziuehyoXQNcLMtVf8qnDQV
zWKgp1HPZbBwcFniKB23Z3EvgA20Rqtr7PzHTEc4iwfhaOzWLlFDo=
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=0.4 required=5.0 tests=AWL,BAYES_00,EXECUTABLE_URI,KAM_EXEURI,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=calgary, Calgary, bat, Hx-spam-relays-external:sk:smtp-ou
X-HELO: smtp-out-no.shaw.ca
X-Authority-Analysis: v=2.2 cv=f8g4PK6M c=1 sm=1 tr=0 a=MVEHjbUiAHxQW0jfcDq5EA==:117 a=MVEHjbUiAHxQW0jfcDq5EA==:17 a=N659UExz7-8A:10 a=v82BPIQ6AAAA:8 a=NEAV23lmAAAA:8 a=w_pzkKWiAAAA:8 a=E8OyY4XQTpz2KXhO0SoA:9 a=pILNOxqGKmIA:10 a=kdvKi6FvV4v_X1HGDEmx:22 a=sRI3_1zDfAgwuvI8zelB:22
Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca
Subject: Re: cygwin installation fails in Windows 10 when running with --quite-mode
To: cygwin AT cygwin DOT com
References: <CANA-60oadKGFQGeFm2_hurX4VErXKJqpBXOJxHhUnUy=Q2eqLg AT mail DOT gmail DOT com> <CANA-60oKyYYx02-RiA_sXqsg3UcLv=ZoFxbXf6_PZSiUa47RDg AT mail DOT gmail DOT com> <CANA-60qzXQu7cEqJrdhuTUnSLYPSD9zVMQF2w1ejQ-uwEAWHmQ AT mail DOT gmail DOT com>
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Message-ID: <67906920-7358-4e5e-8a9a-c326c0279c09@SystematicSw.ab.ca>
Date: Mon, 18 Dec 2017 22:35:44 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0
MIME-Version: 1.0
In-Reply-To: <CANA-60qzXQu7cEqJrdhuTUnSLYPSD9zVMQF2w1ejQ-uwEAWHmQ@mail.gmail.com>
X-CMAE-Envelope: MS4wfM8sjLN04UIWKOzAZgyvm6/peZ1JiiY1l7f1BvFKFPZuYYmITVYXSi5T1VFC/eN1cjWxaGbVZoYSD/x8yR+N5luw+fkrRXbH43adCVGNyXAAwDW6gqEs i2mhtXig/SvEqDF6QMZU1C4agLEAWN5NYJpp0oTMY2N61lOb3/XKBOB7GDH7lh2T4CWe6SMF/C56bQ==
X-IsSubscribed: yes

On 2017-12-18 11:50, Arkady wrote:
> On Mon, Dec 18, 2017 at 7:41 PM, Arkady wrote:
>> On Mon, Dec 18, 2017 at 7:27 PM, Arkady wrote:
>>> 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?> Reproduced again with Autounattend.xml
>> 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
> 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.

Suggest the first step in your process should be to download
	https://cygwin.com/setup-x86.exe
as you will get warnings if setup .exe and .ini versions mismatch (setup just
changed again).

Use -B to install for current user only, or run under admin account and use -W
to wait for elevated child,
You could add -v to get more info in ROOT/var/log/setup.log (appended summaries)
and .../setup.log.full (last run details).

You might want to add -g to be able to rerun and keep versions in old installs
upgraded in sync with new installs, as Cygwin does rolling releases and supports
only current releases; you might also need this for initial installs to get base
packages: it's been a long time since I tried any initial installs.

You should not need to run cmd unless you want to run a bat[ch] or c[om]m[an]d
script.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

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