This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: [ANNOUNCEMENT] Updated: setup.exe (Release 2.876)
- From: "Nellis, Kenneth" <Kenneth dot Nellis at xerox dot com>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Mon, 12 Sep 2016 20:42:49 +0000
- Subject: RE: [ANNOUNCEMENT] Updated: setup.exe (Release 2.876)
- Authentication-results: sourceware.org; auth=none
- References: <BLU436-SMTP115540F937D0CAAAB4B659CB6FF0@phx.gbl>
From: Massimo Balestra
>
> 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
Thanx, for that, and good to know, but since I already have
a bash script, it is simpler just to add "chmod +x"
(thanx to Andrey).
--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