I'm trying to set the permissions on a folder using the permissions element, and can't quite work out how it's working, because of the mapping between property names and the actual flags used.
I've looked through the source, and have now puzzled out some of the topic (and tried to update the documentation in my chm file, but found the sources don't seem to be included), so I've uploaded my suggested documentation to the feature requests page. However, I still can't see how to apply the OI, and CI attributes. My old code from a previous installer was calling ConvertStringSecurityDescriptorToSecurityDescriptor with the argument buf: wsprintf(buf, "D:(A;OICI;GA;;;BA)(A;OICI;0x%08x;;;BU)", READ_CONTROL|FILE_GENERIC_READ|FILE_GENERIC_WRITE); I assume that the well known SID strings for user are "Administrators" and "Users" for the Permission element, but this too isn't documented anywhere, and I can't even look into the source of msiexec to find out. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users