Shield icon on app in Program Files folder

Posted: 03-25-2007, 06:36 AM
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

Responses to "Shield icon on app in Program Files folder"

 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may 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 On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem deleting vista RC windows folder and program files folder Rob Holmes Windows Vista Administration 0 08-08-2007 08:42 PM
deleting vista RC windows folder and program files folder Rob Holmes Windows Vista File Management 0 08-06-2007 04:52 PM
program files folder Nicholas Windows XP Setup 2 01-18-2004 07:18 PM
Program Files folder behaving as a Music Folder The Etobian Windows XP Help & Support 0 11-15-2003 07:47 PM
missing"\c;program files\common files\install shield\professioal\run time\1701 Randy Byrne [MVP] Windows XP Hardware 0 08-31-2003 03:56 PM


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 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90