-
I need to be able to set the permissions of a registry key through code on installing a program so that the use can edit the registry key once the program has been installed. It is for win2000 and winNT machines where the admin installs the program and changable settings are stored in the registry. Is there a way to change the registry setvalue permission on NT and 2000 machines?
if not clear let me know and I'll try to explain better.
-
The only thing I can think of is for you to create a COM object and run it as an Admin or a special user with permission to the registry.
I dont think you can change the registry permissions through code, otherwise, it would be too easy to hack!
Just my $.02