Re: Manifests and requestedExecutionLevel



No answer for you Joe, but your questions prompted me to look around. I'm
very disappointed with the lack of manifest documentation ... and I trust
blogs less than wiki


"Joseph M. Newcomer" <newcomer@xxxxxxxxxxxx> wrote in message
news:h6t49395k2e05vb7ji9bsv46sc3c6kbhs3@xxxxxxxxxx
There is a dearth of documentation on manifests, such as the little
inconsequential
details such as syntax, semantics, and methods for creating them. So I'm
stuck, and I'm
looking for advice.

I have an app that has to run at the integrity level designated by
SECURITY_MANDATORY_MEDIUM_RID, because it wants to exchange PostMessages
with another app
running at that same level. Right now, it always starts at
SECURITY_MANDATORY_HIGH_RID.
While I can re-launch it using CreateProcessAsUser, it would be nicer if
it could launch
itself at medium integrity level, and then in the unlikely case the
co-process were
running high or low would a relaunch be necessary.

So the questions are (a) is this something the manifest will do for me?
(b) if so, what is
the correct syntax for placing it in the manifest? and (c) given that the
previous two
questions have positive answers, what is the technique of getting this
added to the
manifest that is created for me automatically by VS2005?

If anyone has a pointer to documentation on manifests, I'd also be
grateful. Searching
either the online MSDN or using google in general gets little snippets of
pieces of
manifests, but no real documentation about them. I've downloaded the
Vista SDK and
searched the MSDN library, but nothing is emerging as useful.
thanks
joe
Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm


.



Relevant Pages

  • Re: Manifests and requestedExecutionLevel
    ... I agree MSDN is getting pretty sucky, and as MVP's it is our duty to tell ... Yes, perhaps, but since the info going into a manifest comes from diverse ... The keywords unfortunately don't associate with MIC levels. ... but scarcely a documentation issue as the keywords are ...
    (microsoft.public.vc.mfc)
  • Re: Manifests and requestedExecutionLevel
    ... create the manifest (there is no manifest I can find in my project, ... I wonder why manifests are so complex that the documentation was not ... XML files. ... The contents are a collection of XML tags. ...
    (microsoft.public.vc.mfc)
  • Re: Manifests and requestedExecutionLevel
    ... and it handwaves about the manifest without actually telling how to ... I wonder why manifests are so complex that the documentation was not delivered on the day ... details such as syntax, semantics, and methods for creating them. ... Kenny's article above makes it seem impossible to use a manifest to specify ...
    (microsoft.public.vc.mfc)
  • Re: VS 2005 Common Control Manifest Question???
    ... documentation about this. ... What creates the auto ...
    (microsoft.public.vstudio.general)
  • Re: Administrative privilege from code (not manifest)
    ... integrity level, or lower integrity level, but not at higher integrity level (otherwise, ... manifest for the system to intervene and prompt the user. ... Note that a product that requires admin privileges is felt to be very risky, ... had to convert the program to run at ordinary user level. ...
    (microsoft.public.vc.mfc)

Loading