Stretchwickster
Programmer
I work on a piece of software for which there are extra post-installation instruction for users (who have System Administrator rights) installing the software on Win NT, 2000 or XP. These extra instructions advise the person installing the software that they should provide each user (who is without permanent administrator rights) with 'Full Control' of the software's registry entry.
What would be ideal is if we could automate this process so as not to over-burden the person installing the software.
So my question is this:
How can you programmatically set the permissions on a registry key (in HKEY_LOCAL_MACHINE\SOFTWARE\Company Name\Software Name) so that everyone has Full Control?
Any input would be much appreciated!
Clive![[infinity] [infinity] [infinity]](/data/assets/smilies/infinity.gif)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"To err is human, but to really foul things up you need a computer."
Paul Ehrlich
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To get the best answers from this forum see: faq102-5096
What would be ideal is if we could automate this process so as not to over-burden the person installing the software.
So my question is this:
How can you programmatically set the permissions on a registry key (in HKEY_LOCAL_MACHINE\SOFTWARE\Company Name\Software Name) so that everyone has Full Control?
Any input would be much appreciated!
Clive
![[infinity] [infinity] [infinity]](/data/assets/smilies/infinity.gif)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"To err is human, but to really foul things up you need a computer."
Paul Ehrlich
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To get the best answers from this forum see: faq102-5096