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

manifest creation using mt.exe unrecognized element requestedPrivi

Update your Vista Drivers
Reply
 
Thread Tools Display Modes
Old 06-06-2007   #1 (permalink)
chasgl
Guest


 

manifest creation using mt.exe unrecognized element requestedPrivi

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.QualityControl"

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>



My System SpecsSystem Spec
Old 06-06-2007   #2 (permalink)
Jimmy Brush
Guest


 

Re: manifest creation using mt.exe unrecognized element requestedPrivi

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/
My System SpecsSystem Spec
Old 06-07-2007   #3 (permalink)
chasgl
Guest


 

Re: manifest creation using mt.exe unrecognized element requestedP

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/
>

My System SpecsSystem Spec
Reply
Update your Vista Drivers

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
<file> element of Clickonce application manifest Ken Lemieux .NET General 4 03-03-2008 08:08 AM
unrecognized file John Vista General 5 01-29-2008 07:29 PM
.EXE.manifest ms curly Vista installation & setup 4 11-05-2007 04:13 AM
IE 7 Unrecognized by websites and programs RAPMANNEEDSHELP PowerShell 0 03-04-2007 06:32 PM
Unrecognized partitions in Vista pimu Vista General 2 08-07-2006 07:37 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