Alan Kleymeyer’s Blog
What is up.
-
regsvr32 and Vista
Posted on June 16th, 2008 1 commentTesting the registration of one of our plugins (DLLs) under Vista fails when regsvr32 is launched returning error code 0×80070005. This is an "Access Denied" error and has to do with the fact that under Vista, if you run regsvr32 from a command prompt, the command prompt must be started in Admin Mode (elevated).
Programatically registering a dll.
Not only would executing a shell command to launch regsvr32 fail, but updating ther registery also gets a AccessDenied error. I ended up just turning off UAC while I tested. I suppose since our setup program accessed permission, once given, everything else worked.
Leave a reply
You must be logged in to post a comment.


