Down_Under

Hi,

For testing purposes I have installed my application first then added an external manifest to the install path afterward.

I have edited the contents of the manifest to include "requireAdministrator" but when I run the application I am not prompted to enter any admin details.

Questions:

1. Should I be getting asked for admin logon details

2. Can the manifest be added later as I have done or does it need to be part of the intall

3. What am I missing



Re: Application Compatibility for Windows Vista Application won't elevate with manifest

AndyCadley

1. You should either receive a prompt for Administrator credentials or a UAC Confirm dialog, depending on whether you are logged on as a Standard User or a Protected Administrator.

3. If your application has an embedded manifest, the external one will be ignored. Make sure your compiler isn't auto-including a manifest. If you run the application without the manifest present or change the manifest after running it once you may run into caching issues.





Re: Application Compatibility for Windows Vista Application won't elevate with manifest

Bruce N. Baker - MSFT

Embedded manifests are recommended.

When developing; note that external manifest has to be picked up by the indexing service so that means just because you edit it, doesn't mean it's instantaneously picked up. You can kind of work around this by copying out of that directory and then placing it back into it, cause the indexer to pick it up. But you'd need to do this ever time you make a change to the manifest.

Also, external manifests are rather insecure since they can be edited by anyone.






Re: Application Compatibility for Windows Vista Application won't elevate with manifest

Down_Under

It works now

I applied a clean Windows Vista install and recompiled the install to include the manifest. I am now prompted for an administrator password. Looks like it was a cache issue.

Unfortunately I haven't found a way to embed the manifest. The application is written and compiled in VisualBasic 6.0 and I can't find a way to embed it a manifest.

Any suggestions





Re: Application Compatibility for Windows Vista Application won't elevate with manifest

Down_Under

I have found a utility that will embed the manifest.

Alls well that ends well





Re: Application Compatibility for Windows Vista Application won't elevate with manifest

Edcas

Hi, could you show me the way how to embed the manifest into a dll file. I having the same problem in implementing a VB6 application too. Embed the manifest inside a executable file is ok, but if I'm to do it on a dll file. It just won't work

thanks in advance





Re: Application Compatibility for Windows Vista Application won't elevate with manifest

Down_Under

Sorry, I have tried dll's




Re: Application Compatibility for Windows Vista Application won't elevate with manifest

mindserve

Can you give me the name or link to this utility I have the same problem.