Skip to main content
Version: v3

PermissionEx Element (Util Extension)

Description
Sets ACLs on File, Registry, CreateFolder, or ServiceInstall. 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
None
Parents
CreateFolder, File, Registry, RegistryKey, RegistryValue
Inner Text
None
Children
None
Attributes
NameTypeDescriptionRequired
AppendYesNoType  
ChangePermissionYesNoType  
CreateChildYesNoTypeFor a directory, the right to create a subdirectory. Only valid under a 'CreateFolder' parent. 
CreateFileYesNoTypeFor a directory, the right to create a file in the directory. Only valid under a 'CreateFolder' parent. 
CreateLinkYesNoType  
CreateSubkeysYesNoType  
DeleteYesNoType  
DeleteChildYesNoTypeFor a directory, the right to delete a directory and all the files it contains, including read-only files. Only valid under a 'CreateFolder' parent. 
DomainString  
EnumerateSubkeysYesNoType  
ExecuteYesNoType  
GenericAllYesNoType  
GenericExecuteYesNoType  
GenericReadYesNoTypespecifying this will fail to grant read access 
GenericWriteYesNoType  
NotifyYesNoType  
ReadYesNoType  
ReadAttributesYesNoType  
ReadExtendedAttributesYesNoType  
ReadPermissionYesNoType  
ServiceChangeConfigYesNoTypeRequired to call the ChangeServiceConfig or ChangeServiceConfig2 function to change the service configuration. Only valid under a 'ServiceInstall' parent. 
ServiceEnumerateDependentsYesNoTypeRequired to call the EnumDependentServices function to enumerate all the services dependent on the service. Only valid under a 'ServiceInstall' parent. 
ServiceInterrogateYesNoTypeRequired to call the ControlService function to ask the service to report its status immediately. Only valid under a 'ServiceInstall' parent. 
ServicePauseContinueYesNoTypeRequired to call the ControlService function to pause or continue the service. Only valid under a 'ServiceInstall' parent. 
ServiceQueryConfigYesNoTypeRequired to call the QueryServiceConfig and QueryServiceConfig2 functions to query the service configuration. Only valid under a 'ServiceInstall' parent. 
ServiceQueryStatusYesNoTypeRequired to call the QueryServiceStatus function to ask the service control manager about the status of the service. Only valid under a 'ServiceInstall' parent. 
ServiceStartYesNoTypeRequired to call the StartService function to start the service. Only valid under a 'ServiceInstall' parent. 
ServiceStopYesNoTypeRequired to call the ControlService function to stop the service. Only valid under a 'ServiceInstall' parent. 
ServiceUserDefinedControlYesNoTypeRequired to call the ControlService function to specify a user-defined control code. Only valid under a 'ServiceInstall' parent. 
SynchronizeYesNoType  
TakeOwnershipYesNoType  
TraverseYesNoTypeFor 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. 
UserString Yes
WriteYesNoType  
WriteAttributesYesNoType  
WriteExtendedAttributesYesNoType  
See Also
Util Schema