How can I force Windows Vista to execute (run) my application as a user with full Administrator-rights?
Currently Vista will user a Virtual Store to allow user that don't have full Administrator-rights to perform read/write actions on files in protected areas.
When a database is stored in folder "C:\Program files\MyAppFolder\", Vista will 'copy' the database to the virtual store and data-updates will be done there.
When the user does have full Administrator-rights, Vista will use the intended database in "C:\Program files\MyAppFolder\".
I've read something about a XML-manifest that would grant full Administrator-rights to a user for a certain application.
Can anybody please give me a detailed description on:
1. How to check if full administrator-rights is set for my application from within my Delphi-application
2. How to create the manifest for Vista
3. How to executed the manifest within my Delphi-application