I don't know if this behavior is a feature or a bug, but I found a workaround. AccessControl plugin is required (download and copy the Nsis plugins folder). In the "install" section of the Nsis script section, enter something like this:
; This is important to have $APPDATA variable ; point to ProgramData folder ; instead of current user Roaming folder SetShellVarContext all ; This sets us permissions AccessControl::GrantOnFile "$APPDATA\Folder" "(S-1-5-32-545)" "FullAccess" AccessControl::GrantOnFile "$APPDATA\Folder\*" "(S-1-5-32-545)" "FullAccess"
S-1-5-32-545 is equivalent to all users , so this code will provide full access to the specified folder and all files for all users.
SiliconMind
source share