My Java application periodically bulk-inserts into SQL Server. So I will need to grant file system permission to SQL Server. I am able to do this manually. I wonder if there is a Windows command to grant permission to file system. I would like to use that in my Inno Setup file.
Asked
Active
Viewed 290 times
0
-
Try set-acl. https://msdn.microsoft.com/en-us/powershell/reference/5.1/microsoft.powershell.security/set-acl – squillman May 25 '17 at 14:45
1 Answers
0
Inno Setup has a built-in feature for changing permissions of directories, Permissions
parameters of [Dirs]
section:
[Dirs]
Name: "{app}"; Permissions: users-full
It will create the directory, if it does not exist yet.
See also Inno Setup - How to set permissions of installation folder.
To answer your actual question: You can use icacls
. See Inno Setup change c:\ permission.

Martin Prikryl
- 188,800
- 56
- 490
- 992