Changing folder ACL within Windows Installer RRS feed

  • Question

  • I am using Windows installer to install a workstation application in Program Files. It is installed for all users on the computer, some of which may not have administrative privileges. While the application's input and output data are stored in each user's Documents folder, there is an occasional need to store files in a subfolder of the installation folder. Since the application is within the Program Files folder, the default user privileges in all application folders prohibit the user writing to the folder. I need to change the ACL rights for that folder, but am uncertain how to do it within the Installer. Can anyone give me some help on this. Thanks in advance.
    Friday, December 25, 2020 12:36 PM

All replies

  • Please explain the reason why users need to store files in a sub-folder of the installation folder.  If we better understood the objective we might be able to suggest acceptable alternatives.
    Saturday, December 26, 2020 10:46 AM
  • there's a MsiLockPermissionsEx Table in the MSI file spec. But Project Server has no way to modify that as it is not a MSI authoring tool. It is a tool to track project progress. 

    If you know what tool you are using to build the MSI, you can probably find some useful links in its help menu. Maybe there's a link to peer-to-peer support site like this to Microsoft Project Server. 

    Visual C++ MVP

    • Proposed as answer by KHURRAM RAHIM Sunday, December 27, 2020 4:14 PM
    Sunday, December 27, 2020 1:34 PM
  • I don’t think changing ACL will solve the purpose. Please check the root cause to address the issue.

    Mark As Answer if this is helpful
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    Sunday, December 27, 2020 4:11 PM