Reputation: 29
I a new in nsis, and i'd like to run a windows command (subinacl) from my nsi file, how can i do it? May be 'exec' somehow? Thx for the answers
Upvotes: 1
Views: 3717
Reputation: 101764
You can modify file/directory/registry ACLs with the AccessControl plugin.
If you still believe you need to run a external tool you can use ExecWait '"c:\path\to\app.exe" /param1 "par am 2" /param3'
.
ExecWait will display the console when you run console programs, if you don't want that then you have to use a plugin like nsExec (part of NSIS), ExecDos or ExecCmd...
Upvotes: 1