Skip to main content

Permission element

Sets ACLs on File, Registry, or CreateFolder. When under a Registry element, this cannot be used if the Action attribute's value is remove or removeKeyOnInstall. This element has no Id attribute. The table and key are taken from the parent element.

Windows Installer references

LockPermissions Table

Parents

File, RegistryKey, RegistryValue, CreateFolder

Attributes

Append (YesNoTypeUnion) :

ChangePermission (YesNoTypeUnion) :

CreateChild (YesNoTypeUnion) : For a directory, the right to create a subdirectory. Only valid under a 'CreateFolder' parent.

CreateFile (YesNoTypeUnion) : For a directory, the right to create a file in the directory. Only valid under a 'CreateFolder' parent.

CreateLink (YesNoTypeUnion) :

CreateSubkeys (YesNoTypeUnion) :

Delete (YesNoTypeUnion) :

DeleteChild (YesNoTypeUnion) : For a directory, the right to delete a directory and all the files it contains, including read-only files. Only valid under a 'CreateFolder' parent.

Domain (String) :

EnumerateSubkeys (YesNoTypeUnion) :

Execute (YesNoTypeUnion) :

FileAllRights (YesNoTypeUnion) : Bit mask for FILE_ALL_ACCESS from WinNT.h (0x001F01FF).

GenericAll (YesNoTypeUnion) :

GenericExecute (YesNoTypeUnion) :

GenericRead (YesNoTypeUnion) : specifying this will fail to grant read access

GenericWrite (YesNoTypeUnion) :

Notify (YesNoTypeUnion) :

Read (YesNoTypeUnion) :

ReadAttributes (YesNoTypeUnion) :

ReadExtendedAttributes (YesNoTypeUnion) :

ReadPermission (YesNoTypeUnion) :

SpecificRightsAll (YesNoTypeUnion) : Bit mask for SPECIFIC_RIGHTS_ALL from WinNT.h (0x0000FFFF).

Synchronize (YesNoTypeUnion) :

TakeOwnership (YesNoTypeUnion) :

Traverse (YesNoTypeUnion) : For a directory, the right to traverse the directory. By default, users are assigned the BYPASS_TRAVERSE_CHECKING privilege, which ignores the FILE_TRAVERSE access right. Only valid under a 'CreateFolder' parent.

User (String, required) :

Write (YesNoTypeUnion) :

WriteAttributes (YesNoTypeUnion) :

WriteExtendedAttributes (YesNoTypeUnion) :

Edit the schema for this page