delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/09/12/11:11:57

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:message-id:subject:to:references:from:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=Dc6AuIfAzq6+Fz09
gUBCFmwxTKw8FOo+p7mmu1ocEG3c8sY/0YWSnm3LBFIr6lynJNtoibWqj6xP2Ur5
RoT2PxH183X8Oy5jLZPxQ3H3tIMz0d3dk4ypx74p7p/SQjhULVithzm0aMEVZqSW
xjDG4r6Tzwf/fJCgkD/5C4RndUQ=
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:message-id:subject:to:references:from:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=K/RZq8hKI1Bjhk4KuzssWi
QuYGw=; b=DmVuq7hNPpnUH3hXyaGmKybKEIAM/Wxjs0jnI4YRHvKl7wUXV35N0c
u19k3D0WtJHTO0eMwQpArz+ygEIhd8FllXXjCjTr7+dlFXpSNxZKxOk1jtMxzvOJ
8KEEz99AOyvEkwsk8Dw+1MPaPT5IAnDxjVoKVla8PMG+44L1usxEg=
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.8 required=5.0 tests=AWL,BAYES_50,EXECUTABLE_URI,FREEMAIL_FROM,KAM_EXEURI,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=no version=3.3.2 spammy=nellis, Nellis, Everyone, andrey
X-HELO: BLU004-OMC1S5.hotmail.com
X-TMN: [TPgVk2C442qRW3fL3lnJW2QN9yZFKNJb]
Message-ID: <BLU436-SMTP115540F937D0CAAAB4B659CB6FF0@phx.gbl>
Subject: Re: [ANNOUNCEMENT] Updated: setup.exe (Release 2.876)
To: cygwin AT cygwin DOT com
References: <announce DOT 96f253d9-a699-5faf-14e8-fdceb7755b0b AT cygwin DOT com> <0D835E9B9CD07F40A48423F80D3B5A704BB9F0D6 AT USA7109MB022 DOT na DOT xerox DOT net> <159907193 DOT 20160912172759 AT yandex DOT ru> <0D835E9B9CD07F40A48423F80D3B5A704BBA1225 AT USA7109MB022 DOT na DOT xerox DOT net>
From: Massimo Balestra <massimobalestra AT hotmail DOT com>
Date: Mon, 12 Sep 2016 08:11:18 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0
MIME-Version: 1.0
In-Reply-To: <0D835E9B9CD07F40A48423F80D3B5A704BBA1225@USA7109MB022.na.xerox.net>
X-IsSubscribed: yes

I made a batch script that, when needed, downloads the new setup.exe 
with wget, changes the permissions and then executes it.

This is my bat script.

----------------------------------------------

cd C:\cygwin64Install
move setup-x86_64.exe setup-x86_64.exe.old
c:\cygwin64\bin\wget.exe http://www.cygwin.com/setup-x86_64.exe
icacls setup-x86_64.exe /t /grant my-pc\\\\my-name:F
icacls setup-x86_64.exe  /remove "NULL SID"
icacls setup-x86_64.exe  /remove "Everyone"
setup-x86_64.exe

----------------------------------

It works, I suggest you to do the same.

replace my-pc and my-name with yours


Have fun

Massimo


On 9/12/2016 7:53 AM, Nellis, Kenneth wrote:
> From: Andrey Repin
>> Greetings, Nellis, Kenneth!
>>
>>>> A new version of Setup, release 2.876, has been uploaded to
>>>>
>>>>     https://cygwin.com/setup-x86.exe     (32 bit version)
>>>>     https://cygwin.com/setup-x86_64.exe  (64 bit version)
>>>>
>>>> ...
>>> Not a biggie, but thought I'd mention that when I installed
>>> the new 64-bit version through my bash script (using wget),
>>> on launching it Windows complained that permissions were
>>> out of order and that I didn't have permission to run it.
>>> Deleting that download and installing the normal way through
>>> the web page worked just fine.
>> This is to be expected, if you've downloaded the file into Cygwin ACL-
>> enforced
>> directory.
>> You'll have to explicitly +x it to be able to execute the file.
> Uh, I don't think my directory is "Cygwin ACL-enforced", but how
> would I know? It's just my regular Windows download folder (under
> C:\Users), which is separate from my Cygwin stuff (C:\cygwin\home).
>
> Again, not a biggie, but a curiosity.
>
> --Ken Nellis
>
> --
> 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