public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Massimo Balestra <massimobalestra@hotmail.com>
To: cygwin@cygwin.com
Subject: Re: [ANNOUNCEMENT] Updated: setup.exe (Release 2.876)
Date: Mon, 12 Sep 2016 15:11:00 -0000	[thread overview]
Message-ID: <BLU436-SMTP115540F937D0CAAAB4B659CB6FF0@phx.gbl> (raw)
In-Reply-To: <0D835E9B9CD07F40A48423F80D3B5A704BBA1225@USA7109MB022.na.xerox.net>


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

  parent reply	other threads:[~2016-09-12 15:11 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-09  9:36 Yaakov Selkowitz
2016-09-10  5:57 ` Wayne Davison
2016-09-10 17:07   ` Thomas Wolff
2016-09-10 18:00     ` Vince Rice
2016-09-12 12:55       ` Jon Turney
2016-09-12 12:37 ` Nellis, Kenneth
2016-09-12 14:35   ` Andrey Repin
2016-09-12 14:53     ` Nellis, Kenneth
2016-09-12 15:05       ` Andrey Repin
2016-09-12 15:11       ` Massimo Balestra [this message]
2016-09-12 20:53         ` Nellis, Kenneth

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=BLU436-SMTP115540F937D0CAAAB4B659CB6FF0@phx.gbl \
    --to=massimobalestra@hotmail.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).