X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=XMmFFVArBL8yN8eQWb6eXIMWJ14e2ynoJsWFAKnT10LlQY+nm+/ou ejtFgP4ZM8PRpmmTlJDwGvna0EdOv2TaD3UnyjuCEb3+dkoAdZ6tj1y4cN+Y1OBE mg7+03pABVBi3BgBQqZFiZCh9FVA51PojrKTXMYIHjZJb7LA5n6vvU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=Gh8GHijfsYdaFbxBiffiiDvdrvI=; b=XBO/XSeT0qZcRXG7sQOoGtexpCNo pPEMb+NbU9PiE4lqBaJZxIR7OSToShYNwlgZVf8qz7MO+ym0B/3cMwDo3oedZ2kj PDMnomFtci+JqjI0KQq83fn3sMF4T2+WSZcI8m2Q9iV8b26nnB/9iVIkq6ueY3NC N8RPTbJvZqjEjQQ= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=4.9 required=5.0 tests=AWL,BAYES_50,FSL_HELO_NON_FQDN_1,HELO_LOCALHOST,RCVD_IN_PBL,RCVD_IN_RP_RNBL,RCVD_IN_SORBS_DUL,RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: mho-02-ewr.mailhop.org X-Mail-Handler: Dyn Standard SMTP by Dyn X-Report-Abuse-To: abuse AT dyndns DOT com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1/bfNcOAe5vIRVl0sQPTeLH Date: Thu, 12 Sep 2013 20:04:51 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: cannot run setup64.exe without admin privileges (even if renamed foo.exe) Message-ID: <20130913000451.GA3494@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <5231EEF4 DOT 6010407 AT users DOT sourceforge DOT net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5231EEF4.6010407@users.sourceforge.net> User-Agent: Mutt/1.5.20 (2009-06-14) 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