NSIS - Do you want to allow the followin program...
Hello,
I've created an installer using NSIS and used the ACCESSCONTROL to set the permission even for users:
AccessControl::GrantOnFile "$INSTDIR" "ListDirectory + GenericRead + GenericExecute + GenericWrite + GenericExecute"
AccessControl::GrantOnFile "$INSTDIR" "(S-1-5-21)" "FullAccess"
AccessControl::GrantOnFile "$INSTDIR" "(S-1-1-0)" "FullAccess"
AccessControl::GrantOnFile "$INSTDIR" "(S-1-5-32-545)" "FullAccess"
AccessControl::GrantOnFile "$INSTDIR" "(Users)" "FullAccess"
AccessControl::GrantOnFile "$INSTDIR" "(BU)" "FullAccess"
AccessControl::EnableFileInheritance "$INSTDIR"
Question:
How can i get the software to run as administrator (without the message pooping up: " Do you want to allow..." )
Do i need to make some registry settings?
Any help will be greatly appreciated.
Thanks
|