X-Spam-Check-By: sourceware.org
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; 	charset="iso-8859-1"
Subject: RE: Vista & coreutils (or any other package)
Date: Fri, 15 Dec 2006 09:24:34 +0100
Message-ID: <F0D7281DAB048B438E8F5EC4ECEFBDDC012CF962@esmail.elsag.de>
From: =?iso-8859-1?Q?J=F6rg_Schaible?= <Joerg.Schaible@Elsag-Solutions.com>
To: <cygwin@cygwin.com>
X-IsSubscribed: yes
Reply-To: cygwin@cygwin.com
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id kBF8P1EV023179

DePriest, Jason R. wrote on Thursday, December 14, 2006 7:30 PM:

> On 12/14/06, Brian Dessent  wrote:
[snip]
>> I thought the idea here was that the manifest tells the system
>> explicitly "I am not an installer and I do not need to be run with
>> elevated privileges", i.e. treat it like a normal program.
>> 
> 
> From Microsoft Vista's UAC Dev Requirements
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> When developing new installation programs, much like developing
> programs for Windows Vista, be sure to embed an application manifest
> with an appropriate requestedExecutionLevel element. See the Step Six:
> Create and Embed an Application Manifest with Your Application section
> for more information. When the requestedExecutionLevel is present in
> the embedded application manifest, it overrides Installer Detection.
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> 
> So if you use
> 
> <requestedExecutionLevel
> level="asInvoker" />
> 
> It should work without requiring elevated privileges.  Maybe.

Don't post such well kept secrets to lastest (patented?) M$ technology in public mailing lists, otherwise malware programmers might get aware of it.

ROTLFWMP

- Jörg

BTW: I bet VStudio creates such manifests on-the-fly simply by activating a checkbox, but it's another well-known fact that malware programmers do never use VStudio - maybe gcc?

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


