manifest creation using mt.exe unrecognized element requestedPrivi

Posted: 06-06-2007, 07:32 PM
I want to "mark" an exe with a requestedPrivilege level. I have created a
manifest <below>. My target machine is, of course, Vista. My development
machine is XP Pro. When I run my built from Visual Studio 2005 I get a
manifest warning.

I am wondering "where" the DTF file is or is it another mechanism that
doesn't have the entry for where does it actually get
urn:schemas-microsoft-com:asm.v2?
Any ideas how this works?

Here is the manifest
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<assembly xmlns="urn:schemas-microsoft-com:asm.v2" manifestVersion="1.0">

<assemblyIdentity

version="1.0.0.0"

processorArchitecture="X86"

name="KofaxImageProducts.AscentCapture.QualityCont rol"

type="win32"

/>

<description>Ascent Capture - Quality Control</description>

<dependency>

<dependentAssembly>

<assemblyIdentity

type="win32"

name="Microsoft.Windows.Common-Controls"

version="6.0.0.0"

processorArchitecture="X86"

publicKeyToken="6595b64144ccf1df"

language="*"

/>

</dependentAssembly>

</dependency>

<ms_asmv2:trustInfo xmlns:ms_asmv2="urn:schemas-microsoft-com:asm.v2">
<ms_asmv2:security>
<ms_asmv2:requestedPrivileges>
<ms_asmv2:requestedExecutionLevel level="asInvoker">
</ms_asmv2:requestedExecutionLevel>
</ms_asmv2:requestedPrivileges>
</ms_asmv2:security>
</ms_asmv2:trustInfo>
</assembly>


Reply With Quote

Responses to "manifest creation using mt.exe unrecognized element requestedPrivi"

Jimmy Brush
Guest
Posts: n/a
 
Re: manifest creation using mt.exe unrecognized element requestedPrivi
Posted: 06-07-2007, 12:34 AM
Hello,

Try changing this line:

<ms_asmv2:trustInfo xmlns:ms_asmv2="urn:schemas-microsoft-com:asm.v2">

To:

<ms_asmv2:trustInfo xmlns:ms_asmv2="urn:schemas-microsoft-com:asm.v3">


--
-JB
Microsoft MVP - Windows Shell/User
Windows Vista Support FAQ - http://www.jimmah.com/vista/
Reply With Quote
chasgl
Guest
Posts: n/a
 
Re: manifest creation using mt.exe unrecognized element requestedP
Posted: 06-07-2007, 11:44 PM
Thanks, I will give it a try. It turns out that I can solve the problem by
using the version of mt.exe that comes with the Vista SDK which is diffent
from the Visual Studio program MARKED WITH THE SAME EXACT VERSION.
5.2.3790.2075

see
https://connect.microsoft.com/Visual...dbackID=258108

It also turns out that the warning is "harmless" in that the HTML does get
embedded into the manifest and recognized by Vista even with the warning.

THanks,
Chas
"Jimmy Brush" wrote:
> Hello,
>
> Try changing this line:
>
> <ms_asmv2:trustInfo xmlns:ms_asmv2="urn:schemas-microsoft-com:asm.v2">
>
> To:
>
> <ms_asmv2:trustInfo xmlns:ms_asmv2="urn:schemas-microsoft-com:asm.v3">
>
>
> --
> -JB
> Microsoft MVP - Windows Shell/User
> Windows Vista Support FAQ - http://www.jimmah.com/vista/
>
Reply With Quote
 
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
xmlsscript: Error: XML document must have a top level element Li Frustrated with Vista already Windows Vista Administration 0 10-05-2007 02:43 PM
Manifest not working G. Plante Windows Vista Security 3 02-26-2007 05:03 PM
UAC Manifest for VB6 Apps will f Windows Vista Security 1 02-24-2007 12:32 AM
unrecognized cds Byte Windows XP Music 0 05-20-2004 08:56 PM
Manifest Parse Error Nicholas Windows XP Setup 2 12-31-2003 11:09 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