I'm adding a new feature to Killink to allow the user to integrate the application with Windows Explorer. Not a difficult task. Just involves making some registry settings. But one registry setting I need to make must go under HKEY_CLASSES_ROOT, and this hive is under administrative control in Vista.

This isn't such a big deal if I am using an installer. Installers will typically ask for elevated permissions to perform the install. But I'm trying to provide a version that does not require an installer. This means my application will have to ask for elevated permissions when the user clicks the option to integrate with Explorer. It also means I need to display the shield icon indicating that elevated permissions are required to perform the task.

This really has me bummed out because it means more work (and learning). Now I have to learn up to ask for elevated permissions within the application.

Sigh...

posted by Kirby | 04-Apr-2007 10:51 AM | comments (2)


Three-part series on how to do that:

http://developersoven.blogspot.com/2007/02/leveraging-vistas-uac-with-delphi-part.html

posted by Craig Stuntz | April 4 01:43 PM


Outstanding! Thanks Craig.

posted by Kirby Turner | April 4 01:53 PM

Add Your Comment

Comment:
(No HTML)

Name:
E-mail/Web site:
Your e-mail/web site will not be published on this site. It is optional and will only be used by me should I need to contact you directly.
 
By checking this option, this site will remember your name and e-mail/web site on future visits. Uncheck this option to have the site not remember who you are on future visits.
 
Enter the code shown above:
Copyright © 1999-2008 Kirby Turner.
Site software written by White Peak Software Inc, a provider of custom software and software development coaching.