windows - Change registry value permission command line or NSIS -
i'm trying grant ordinary users write access registry value created.
they cannot have write access parent key.
through regedit
, it's simple: 1. select value 2. edit permissions (change accordingly) 3. ok
however i'm struggling same via command line or nsis.
- the command
regini
has nice method changingkey
permissions. if worked changingvalue
permissions, script installer. - the nsis plugin
accesscontrol
has nice method changingkey
permissions no evidence of changingvalue
permissions.
in case, key
hklm\software\microsoft\windows\currentversion\run
not modify permissions of.
how can change only permissions of value i've created? how can regedit
allows, silently through command line or nsis?
the value like:
[hklm\software\microsoft\windows\currentversion\run] "my value"="c:\please\let\me\change\permissions\sadface.exe"
note, scripted software installer build script run on mac, linux , windows (nsis allows this). recommendations bundling special dlls
or windows executable ok long they're bundled , chained against @ install time. solutions including tools such windows sdks cannot accepted unless footprint small , long dlls can bundled , included lgpl 2.1 project. e.g. installing users have run this, solutions need reasonably portable/distributable.
as @noodles mentions in comment above, it's not possible change value
permissions, no solution exists. registry editor providing key
permissions, observable looking @ window title, , undesired particular solution.
Comments
Post a Comment