cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jatkin
Level 3

Setting Registry key Permissions in InstallScript 2014

Hi all,

I have an InstallScript project under InstallShield 2014

During the installation, I wish to create a key : HKEY_LOCAL_MACHINE/Software/MYAPPNAME
I wish to make this key, and subsequent sub-keys accessible read/write to all users.
How can I do this?

Your help is gratefully appreciated.

Many thanks,

James
Labels (1)
0 Kudos
4 Replies
MarkusLatz
Level 8

search in the InstallShield Help Library for "SetObjectPermissions"
0 Kudos
jatkin
Level 3

This looks like exactly what I am after 🙂

Can this be used to assign 'Full Access' - I can't see this as an option?

Thanks...

James
0 Kudos
MarkusLatz
Level 8

Never tried myself but STANDARD_RIGHTS_ALL or GENERIC_ALL should do this.
0 Kudos
jatkin
Level 3

I have just checked this out and it looks like the following combination seems to work:

STANDARD_RIGHTS_ALL | GENERIC_ALL

Thanks again for the help,

James
0 Kudos