Support function for setting Permissions
This is currently only possible using [Files], [Dirs], [Registry] or API.
Exposing the existing functionality as a support function would make scripting much easier.
Enablig arbitrary SIDs would make the feature complete.
35
votes
Closed due to lack of example
2 comments
-
Patrick
commented
I would like to use the permission-flag on other then the 6 build in SIDs admins, authusers, everyone, powerusers, system and users; for example the NetworkService account:
[Dirs]
Name: {sd}\ExampleDir; Permissions: S-1-5-20-modify -
AdminMartijn Laan
(Admin, Inno Setup)
commented
Can you give an example? Using low level file functions from [Code] often indicates the script is designed wrongly.