Skip to 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.

Attributes

Append

yesno

ChangePermission

yesno

CreateChild

yesno

For a directory, the right to create a subdirectory. Only valid under a ‘CreateFolder’ parent.

CreateFile

yesno

For a directory, the right to create a file in the directory. Only valid under a ‘CreateFolder’ parent.

CreateLink

yesno

CreateSubkeys

yesno

Delete

yesno

DeleteChild

yesno

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

yesno

Execute

yesno

FileAllRights

yesno

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

GenericAll

yesno

GenericExecute

yesno

GenericRead

yesno

specifying this will fail to grant read access

GenericWrite

yesno

Notify

yesno

Read

yesno

ReadAttributes

yesno

ReadExtendedAttributes

yesno

ReadPermission

yesno

SpecificRightsAll

yesno

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

Synchronize

yesno

TakeOwnership

yesno

Traverse

yesno

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

yesno

WriteAttributes

yesno

WriteExtendedAttributes

yesno

Parents

Windows Installer references