stevo.zilik
Posts: 42
Joined: Thu Jul 19, 2007 1:39 pm

User rights

Hi,

I need to specify user rights on all installed files/folders and registry keys/values so also restricted users will be able to read/write them. If I set Permissions on Application Directory (in Files, Folders and Shortcuts) to MAXIMUM_ALLOWED and same on Manufacturer key (in Registry) , will that solve my problem? I need to make it work on all their children recursively(all subdirectories/ files and sub-keys/values).

thanx for answer
Adriana
Posts: 28
Joined: Tue Aug 14, 2007 9:32 am
Location: Craiova
Contact: Website

Hi,

You need to set the following combination of permissions in order to enable Full Control on the respective files/folders/registry keys:

Code: Select all

DELETE
READ_CONTROL
WRITE_DAC
WRITE_OWNER
SPECIFIC_RIGHTS_ALL
GENERIC_WRITE
GENERIC_EXECUTE
GENERIC_ALL
Make sure that you also add the Administrators group to the ACL specifying the above permissions for it.

The permissions should be inherited by child objects, but in some cases the Windows Installer behaviour is non-deterministic regarding permission inheritance. If this happens, set the permissions explicitly for the folders/registry keys in question.

Hope this helps.

Regards,
Adriana
Adriana Simion
Advanced Installer Team
http://www.advancedinstaller.com/
stevo.zilik
Posts: 42
Joined: Thu Jul 19, 2007 1:39 pm

thank you very much

Return to “Common Problems”