Jump to content

loosely coupling manifest file in VC6


Recommended Posts

Guest Pointer
Posted

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

  • Replies 2
  • Created
  • Last Reply
Guest Guest
Posted

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...<span style="color:blue">

> 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 </span>

  • 3 weeks later...
Guest Pointer
Posted

On Jul 11, 12:21 pm, <.> wrote:<span style="color:blue">

> 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

></span>

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<span style="color:blue">

> news:09050cd6-a771-419d-a799-e4da29f26733@f36g2000hsa.googlegroups.com...

><span style="color:green">

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

> >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</span>

><span style="color:green">

> > P.S:The version of application has been built in VC6</span>

><span style="color:green">

> > Regards and TC</span></span>

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...