question

HmidiAmine-3788 avatar image
0 Votes"
HmidiAmine-3788 asked sreejukg answered

How to add write access files after installation

Hi,

I'm using setup project to publish my app, i have some files in some folders that i want to add them for example to programData directory with write access for all users !

How can i do that ?

dotnet-csharpdotnet-ad
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

sreejukg avatar image
0 Votes"
sreejukg answered

You can create some directories by your installer and assign ACL for the sub directories to allow certain users to have write access to it. You can use Custom Actions to allow the installer to modify the folder permissions. Refer the following blog to understand how can you do this.

https://holsson.wordpress.com/2012/08/24/modifying-installation-directory-security-with-windows-installer/




5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.