Registry permissions not being saved - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

BobM
Posts: 11
Joined: Tue Aug 22, 2006 9:05 am

Registry permissions not being saved

After setting the permissions on a registry key, re-open the key properties dialog, select the permissions tab - the permissions have not been saved.
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

A registry key row is not actually created if one of the options "Create (if absent) at install" or "Delete (if present) at uninstall" are not selected in the "Registry Key" tab of the "Edit Registry Key" dialog. This is why the permissions are lost when you close the dialog - there is no registry key row to attach these permissions to.

You are right however, this is a bug. The user should be warned about this aspect or the appropriate option should be selected automatically when permissions are created for a registry key. This will be addressed in a future version.

Hence you need to select the "Create (if absent) at install" option. Then for the "Everyone" group specify the following permissions (to enable full read and write access):

READ_CONTROL
KEY_QUERY_VALUE
KEY_ENUMERATE_SUBKEYS
KEY_NOTIFY
GENERIC_WRITE

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”