Does a manifest containing requestedExecutionLevel need to be embedded?

J

John Daintree

Hello all,

I've been experimenting with manifests to set "requestedExecutionLevel" to
"requireAdministator" for an application to run on Vista and Windows 7.

It seems that the manifest MUST be embedded in the executable, I cannot just
have myapp.exe.manifest exist in the same directory as the executable at
runtime. Is that the correct behaviour? And is there specific documentation
from microsoft that explains it?

Thanks in advance,

/john
 
F

FromTheRafters

John Daintree said:
Hello all,

I've been experimenting with manifests to set
"requestedExecutionLevel" to "requireAdministator" for an application
to run on Vista and Windows 7.

It seems that the manifest MUST be embedded in the executable, I
cannot just have myapp.exe.manifest exist in the same directory as the
executable at runtime. Is that the correct behaviour? And is there
specific documentation from microsoft that explains it?

Thanks in advance,

This mentions that it is "recommended" to ensure proper runtime
behavior.

http://msdn.microsoft.com/en-us/library/ms235591(VS.80).aspx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top