I am new to NSIS commands. I have a installer file and I am granting the GenericRead and GenericWrite permissons on my InstallDir.
Below is the code:
AccessControl::GrantOnFile "$INSTDIR\WPFUI" "(BU)" "GenericRead + GenericWrite"
Now problem is: any non admin user can copy new files and dlls in my install directory.
I want to set the required permission which requires admin rights to copy any new files.
I've tried my luck with GenericRead + GenericExecute but still does not work.
Could someone please throw any light on this?