This is the mail archive of the cygwin 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: cannot run setup64.exe without admin privileges (even if renamed foo.exe)


On Thu, Sep 12, 2013 at 11:42:28AM -0500, Yaakov (Cygwin/X) wrote:
>On 2013-09-12 04:07, Fr?d?ric Bron wrote:
>> I would like to run setup64.exe on Windows 7 without asking for admin
>> rights but the computer asks me for admin credentials.
>> I read this: http://cygwin.com/ml/cygwin/2011-06/msg00286.html where
>> Corinna suggested to rename the .exe to foo.exe but this did not work.
>> I also do not have the rights to modify the Local Security Policy.
>
>UAC Installer Detection only affects x86 binaries, so that only helps 
>with setup-x86.exe. As for setup-x86_64.exe, its builtin manifest 
>requires Admin privileges because otherwise it won't promote itself 
>automatically, and most people install Cygwin for All Users.
>
>> Is there any workaround? Would it be possible to supply a setup that
>> do not need admin privileges?
>
>You can build setup.exe yourself for x86_64-w64-mingw32 with the 
>requestedExecutionLevel entry removed from the manifest.  The sources 
>are in cygwin-apps CVS.

A definitive, non-speculative answer that even gets the name of the
executable right.  Thanks, Yaakov.

cgf

--
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


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