Jeff McKay
2007-03-19 18:37:50 UTC
The Windows Vista certification program requires that .exe files have an
embedded manifest that sets the execution level, as follows:
<security>
<requestedPrivileges>
<requestedExecutionLevel level="asInvoker" uiAccess="false"/>
</requestedPrivileges>
</security>
My development environment (C++ Builder) does not seem to allow me to create
an embedded manifest, so I am trying to use the tool mt.exe. I am confused
by what
else needs to be in the manifest file to make this work. The documentation
for mt.exe
says that the file referenced by the manifest (I presume they mean the exe
file) must
be in the same directory. So what other stuff do I need in the manifest? I
tried looking
at the manifests for Outlook 2007 and Word 2007 (using Resource Hacker), but
I don't see how I specify the name of the .exe file (it is not on the
command line to mt.exe). By the way, the manifests for Microsoft's program
don't seem to follow their own requirements
for 3rd party certification.
embedded manifest that sets the execution level, as follows:
<security>
<requestedPrivileges>
<requestedExecutionLevel level="asInvoker" uiAccess="false"/>
</requestedPrivileges>
</security>
My development environment (C++ Builder) does not seem to allow me to create
an embedded manifest, so I am trying to use the tool mt.exe. I am confused
by what
else needs to be in the manifest file to make this work. The documentation
for mt.exe
says that the file referenced by the manifest (I presume they mean the exe
file) must
be in the same directory. So what other stuff do I need in the manifest? I
tried looking
at the manifests for Outlook 2007 and Word 2007 (using Resource Hacker), but
I don't see how I specify the name of the .exe file (it is not on the
command line to mt.exe). By the way, the manifests for Microsoft's program
don't seem to follow their own requirements
for 3rd party certification.