I am trying to install a set of files in the programdata folder using the main MSI installer. Since the contents of the files are dynamic and are generated during the installation process, I create files in C # code during the installation.
Files are created in the appropriate folders, and everything is fine, except for file permissions. As far as I understand, files should inherit their permissions from the parent folder (if they are included), but in this case this does not happen. The files that I create must be writable by regular users, and I do not want to explicitly set permissions for each file I create. Could the problem be that the installer works with different permissions, and therefore the files do not inherit permissions from their parent folders?
Thanks in advance for your help.
installer c # file windows-installer permissions
Kenneth
source share