loosely coupling manifest file in VC6

P

Pointer

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
 
G

Guest

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.
 
P

Pointer

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.
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
 

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