How do you set directory permissions in NSIS?

前端 未结 6 1321
一个人的身影
一个人的身影 2020-12-25 10:50

I\'m trying to build a Windows installer using Nullsoft Install System that requires installation by an Administrator. The installer makes a \"logs\" directory. Since regul

6条回答
  •  没有蜡笔的小新
    2020-12-25 11:30

    AccessControl::GrantOnFile "" "(BU)" "FullAccess" didn't work for me on a Windows Server 2008 machine. Instead I had to use this one:

    AccessControl::GrantOnFile "" "(S-1-5-32-545)" "FullAccess"

    S-1-5-32-545 is equivalent to "Users" according to Microsoft Support: Well-known security identifiers in Windows operating systems.

提交回复
热议问题