Log in

View Full Version : problem to updated manifest---urgent



Smart_boy
06-23-2008, 06:03 AM
I'm try to create the manifest file and embedded to the exe file to request to be run with higher privileges. But there have an error and i don't know what wrong with this. Please Help to check.

The manifest code show as below:



<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity version="6.0.2800.1106" processorArchitecture="X86" name="setup" type="Win32"/>
<description>Win32 Cabinet Self-Extractor</description>
<ms_asmv2:trustInfo xmlns:ms_asmv2="urn:schemas-microsoft-com:asm.v2">
<ms_asmv2:security>
<ms_asmv2:requestedPrivileges>
<ms_asmv2:requestedExecutionLevel level="asInvoker" uiAccess="false">
</ms_asmv2:requestedExecutionLevel>
</ms_asmv2:requestedPrivileges>
</ms_asmv2:security>
</ms_asmv2:trustInfo>
</assembly>


I get the error below when i try to embed the manifest to the exe file (SDK version 6.1)

mt.exe : general error c101008d: failed to write the updated manifest to the resource of file "setup.exe". Access is denied.

Anyone know what's wrong with this?
Your help are appreciated.
Thank You!