I am creating a folder inside programdata folder using windows installer. Running the project i am getting an error while trying to write to the file
C:\\Pr
ACL Permissioning: Adding write permissions for regular users is usually considered an anti-pattern, but sometimes you need to share a file among all users of the PC for pragmatic purposes.
Write Access: For the record: Here is a list of approaches to deal with permission denied issues. Most of the options listed are not good at all - and that is why the list was made - we need to remember why they are bad and what alternatives exist.
Deployment Tool: Application of custom ACL permissioning - to open a file in a protected disk location for writing by all users - is different depending on what tool you use to make your MSI. Since you don't specify WiX, Installshield, Advanced Installer or something else I am not sure how to answer. Let me use links instead:
WiX:
MsiLockPermissionsEx
Table)
Installshield:
Advanced Installer:
LockPermission table
.There are some other tools as described here: Short List. Secondary (more links).
Other Links: