Mail Archives: cygwin/2006/12/15/03:25:03
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/
- Raw text -