Page 1 of 1

Write permission

Posted: Tue Nov 14, 2023 5:45 am
by AKP
During my installation, I copy files into the ProgramData directory (<CommonAppData><AppName>test.xml). Unfortunately, my program does not have write access to this file. I thought that write permissions were available for everyone in this folder. What am I doing wrong?
Thank you.

Re: Write permission

Posted: Tue Nov 14, 2023 9:57 am
by Leo
Yes, the ProgramData folder has the write access.
Its strange that you app cannot write to this folder.
Anyway try to set the full access to the folder:

Go to the System \ Commands page, and add:

Code: Select all

File: 		<SystemDir>\icacls.exe
Parameters: 	"<CommonAppData>\<AppName>" /grant:r Users:(OI)(CI)F /T
Launch on OS: 	All
Show: 		Normal or Hide
Timing: 	After Installation
Wait: 		No
Run as admin: 	No*
More info:
https://www.actualinstaller.com/help/fa ... ullcontrol

Re: Write permission

Posted: Wed Nov 15, 2023 10:03 pm
by AKP
That solves the problem.

Thank you