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.
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 .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.