2

I have to set ACL of "C:\" folder (only this folder, not its subfolders!) to accept read/write from all users. Is it possibile by Inno setup script?

4

1 回答 1

2

您可以使用icacls.exeinno setup 设置权限

尝试使用 inno-setup 中的 Exec 或 shellexec 函数执行以下操作

icacls "C:\" /grant Users:F

这可能会有所帮助,请查看icacls 信息

于 2013-08-20T12:04:47.820 回答