Windows Vista Forums
Vista Forums Home Join Vista Forums Tech Publications Windows 7 Forum Vista Tutorials Webcasts Tags

Welcome to Vista Forums we are your forum for Windows Vista help and discussion. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Vista Newsgroups > Vista security

Shield icon on app in Program Files folder

Update your Vista Drivers
Reply
 
Thread Tools Display Modes
Old 03-25-2007   #1 (permalink)
Paul J. Lucas
Guest


 

Shield icon on app in Program Files folder

I'm building an application that doesn't need administrator privileges
so I'm adding a manifest to it as part of my .rc file:

CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST MOVEABLE PURE
{
"<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
<assemblyIdentity
name='MyApp'
version='2.3.1.7728'
processorArchitecture='x86' type='win32'/>
<description>MyApp</description>
<trustInfo xmlns='urn:schemas-microsoft-com:asm.v2'>
<security>
<requestedPrivileges>
<requestedExecutionLevel level='asInvoker' uiAccess='false'/>
</requestedPrivileges>
</security>
</trustInfo>
</assembly>"
}

when the build is done, the application's icon correctly doesn't have the
UAC shield on it. Yet when it's installed into:

C:\Program Files\MyApp\MyApp.exe

it has a shield. Why?

FYI: My development environment is gcc under Cygwin.

- Paul

My System SpecsSystem Spec
Reply
Update your Vista Drivers

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting the UAC shield off a desktop icon S.SubZero Vista General 8 04-14-2008 12:52 PM
Windows Shield in Icon StrangeDze Vista performance & maintenance 3 01-05-2008 11:11 PM
question about uac shield icon TheOne Vista security 5 12-30-2007 08:42 PM
Spyware .exe program won't save or run into Program Files folder Little Lil Vista General 3 03-20-2007 07:14 PM
How to take off the shield tag on some shortcut icon? =?Utf-8?B?aGFoYWhhaGFoYWg=?= Vista General 6 07-20-2006 10:38 PM


Complimentary Industry Resources

Vista Forums has joined forces with TradePub.com to offer you a new, exciting, and entirely free professional resource. Visit http://vistax64.tradepub.com today to browse our selection of complimentary Industry magazines, white papers, webinars, podcasts, and more across 34 industry sectors. No credit cards, coupons, or promo codes required. Try it today!




Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51