View Single Post
Old 3rd February 2011, 11:33   #5
Major Dude
Join Date: Oct 2006
Posts: 1,892
Originally Posted by steph0815 View Post
Beside the "RequestExecutionLevel admin" I added a part to check if the user is really a admin in the .onInit function. I added the enhanced code here.
Very good, that's indeed a necessary step.

As for your problem, you write a regstr and try to delete a regkey. You should use DeleteRegValue, not DeleteRegKey.
MSG is offline   Reply With Quote