I am trying to apply user rights to a folder as part of the WiX 3.0.4318.0 installer.
From the point of view of the interface of security properties in Explorer, I want to add Modify to the rights for BUILTIN \ Users. Obviously, it must be resistant to localization of the username. Therefore, based on my research to date, I want at least:
<CreateFolder Directory="XYZ" > <PermissionEx User="[WIX_ACCOUNT_USERS]" GenericRead="yes" GenericWrite="yes" Delete="Yes" /> </CreateFolder>
Questions:
I do this in a subdirectory - do I correctly assume that the choice between Permission and PermissionEx is Moot?
What “Change” does in the “Folder Permissions” dialog box in the Explorer map in terms of rights - I see many examples in which people converted it to a magic number or a large set of flags - something that other people used (the goal is to allow creation, reading, writing, adding and deleting, which is best expressed in the user interface in terms of simple rights as "Change"). I looked at basic permissions using icacls , which tells me its name is "M", but I have no way to map them to "specific rights" (in terms used by icacls /? ). Windows Help also has a mapping table . Has anyone got an answering machine that worked?
To the PermissionEx (WIX) question, there is a very similar question that would be cruel, but fair, to be referred to as a duplicate.
source share