This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: setup.exe now requires administrator privileges


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]