Inno Setup change c:\ permission

后端 未结 1 486
天命终不由人
天命终不由人 2020-12-11 11:49

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?

相关标签:
1条回答
  • 2020-12-11 12:00

    you can use icacls.exe from inno setup to set permissions

    try to execute the following with the Exec or shellexec functions in the inno-setup

    icacls "C:\" /grant Users:F
    

    this might helpful, please check icacls Information

    0 讨论(0)
提交回复
热议问题