delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/09/12/20:05:09

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: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 <cgf-use-the-mailinglist-please AT cygwin DOT com>
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: <CAPw2spinsbSZaduOMJtgR6rkaoJA9s7rTm6LCwvWBCK9-kiN8A AT mail DOT gmail DOT com> <5231EEF4 DOT 6010407 AT users DOT sourceforge DOT net>
MIME-Version: 1.0
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019