Windows Vista Beta | WinVistaBeta.com - Message | loosely coupling manifest file in VC6

November 23, 2008  
Subject: loosely coupling manifest file in VC6
Group: microsoft.public.windows.vista.security
Date: 7/10/2008 11:59:57 PM
From: Pointer [Email Address Protection]

Hi all,
We have started porting our application to accommodate vista security
changes. We have a unique case. A particular exe can run in both
server environments like windows 2003/2008 server and clients like xp/
vista. In the server env we want to run the executable as an
administrator but in the client environments it should be run with
invoker privileges. Is there any mechanism to loosely couple the
manifest file with the exe. i.e i dont want to embed it using the
resource files. i have tried to use it by placing the manifest file in
the same folder as the executable. the name of the manifest file was
"myexe.exe.manifest". Any help would be greatly appreciated


P.S:The version of application has been built in VC6

Regards and TC

Back
Subject: Re: loosely coupling manifest file in VC6
Group: microsoft.public.windows.vista.security
Date: 7/11/2008 12:21:55 AM
From: <.>

It should work. I use an external manifest to get Commctrl6 so I can rename
it and turn it on or off. I have asinvoker in the manifest file and it
doesn't complain, which is different to saying it does anything.

"Pointer" <rohit.ven@gmail.com> wrote in message
news:09050cd6-a771-419d-a799-e4da29f26733@f36g2000hsa.googlegroups.com...
> Hi all,
> We have started porting our application to accommodate vista security
> changes. We have a unique case. A particular exe can run in both
> server environments like windows 2003/2008 server and clients like xp/
> vista. In the server env we want to run the executable as an
> administrator but in the client environments it should be run with
> invoker privileges. Is there any mechanism to loosely couple the
> manifest file with the exe. i.e i dont want to embed it using the
> resource files. i have tried to use it by placing the manifest file in
> the same folder as the executable. the name of the manifest file was
> "myexe.exe.manifest". Any help would be greatly appreciated
>
>
> P.S:The version of application has been built in VC6
>
> Regards and TC


Back
Subject: Re: loosely coupling manifest file in VC6
Group: microsoft.public.windows.vista.security
Date: 7/31/2008 11:16:23 PM
From: Pointer [Email Address Protection]



On Jul 11, 12:21=A0pm, <.> wrote:
> It should work. I use an externalmanifestto get Commctrl6 so I can rename
> it and turn it on or off. I have asinvoker in themanifestfile and it
> doesn't complain, which is different to saying it does anything.
>
> "Pointer" <rohit....@gmail.com> wrote in message
>
Hi,
I finally was able to achieve this. Placing the manifest in the same
folder as the exe resolves works. But this solution worked only after
i applied the Vista SP1 update. Also I have two clients in which I am
testing this. In one of them I have to place my executable under the
"Program files" while in the other it works fine. Not sure this is due
to difference in updates i have applied or not applied.

Regards and take care,
rohit
> news:09050cd6-a771-419d-a799-e4da29f26733@f36g2000hsa.googlegroups.com...
>
> > Hi all,
> > We have started porting our application to accommodate vista security
> > changes. =A0We have a unique case. A particular exe can run in both
> > server environments like windows 2003/2008 server =A0and clients like x=
p/
> > vista. In the server env we want to run the executable as an
> > administrator but in the client environments it should be run with
> > invoker privileges. Is there any mechanism to loosely couple the
> >manifestfile with the exe. i.e i dont want to embed it using the
> > resource files. i have tried to use it by placing themanifestfile in
> > the same folder as the executable. the name of themanifestfile was
> > "myexe.exe.manifest". Any help would be greatly appreciated
>
> > P.S:The version of application has been built in VC6
>
> > Regards and TC


Back