Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Security > Shield icon on app in Program Files folder

Reply
Thread Tools Display Modes

Shield icon on app in Program Files folder

 
 
Paul J. Lucas
Guest
Posts: n/a

 
      03-25-2007
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
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting the UAC shield off a desktop icon S.SubZero Windows Vista General Discussion 8 04-14-2008 04:52 PM
Windows Shield in Icon StrangeDze Windows Vista Performance 4 01-06-2008 03:11 AM
question about uac shield icon TheOne Windows Vista Security 4 12-29-2007 04:41 AM
Spyware .exe program won't save or run into Program Files folder Little Lil Windows Vista General Discussion 3 03-20-2007 10:14 PM
How to take off the shield tag on some shortcut icon? hahahahahah Windows Vista General Discussion 6 07-21-2006 02:38 AM



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 52 53 54 55 56 57 58 59