This is the mail archive of the
mailing list for the Cygwin project.
Re: cannot run setup64.exe without admin privileges (even if renamed foo.exe)
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 12 Sep 2013 20:04:51 -0400
- Subject: Re: cannot run setup64.exe without admin privileges (even if renamed foo.exe)
- Authentication-results: sourceware.org; auth=none
- References: <CAPw2spinsbSZaduOMJtgR6rkaoJA9s7rTm6LCwvWBCK9-kiN8A at mail dot gmail dot com> <5231EEF4 dot 6010407 at users dot sourceforge dot net>
- Reply-to: cygwin at cygwin dot com
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.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple