This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: setup.exe now requires administrator privileges
- From: "Yaakov (Cygwin/X)" <yselkowitz at users dot sourceforge dot net>
- To: cygwin-apps at cygwin dot com
- Date: Fri, 05 Apr 2013 06:28:32 -0500
- Subject: Re: setup.exe now requires administrator privileges
- References: <515BC9DE dot 8040607 at shaddybaddah dot name>
On Wed, 2013-04-03 at 17:19 +1100, Shaddy Baddah wrote:
> I've just run the setup64.exe following a procedure I use to defeat
> UAC's privilege elevation based on the "setup" substring. That is I
> renamed it to cygpkg64.exe and ran it as a non-privileged user.
>
> I've noticed that this no longer defeats UAC, at least with 2.795 build
> of setup64.exe.
>
> Based on my limited understanding of .exe.manifest files, I believe the
> problem should be related to this change to Cygwin setup:
>
> http://sourceware.org/cgi-bin/cvsweb.cgi/setup/setup.exe.manifest?rev=2.4&content-type=text/x-cvsweb-markup&cvsroot=cygwin-apps
Correct. UAC Installer Detection Technology applies only to 32bit
executables; without that patch, setup64.exe would not elevate
automatically, which we believe would run contrary to what most users
are expecting.
I have partially reverted that change, so that your renaming
circumvention will still work with setup.exe (32bit); if you want this
to work with setup64.exe (64bit), I'm afraid you will need to build it
yourself.
Yaakov