Does a manifest containing requestedExecutionLevel need to be embedded?

  • Thread starter Thread starter John Daintree
  • Start date Start date
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
 
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
 
Back
Top