If I create setup package using Inno Setup, will the setup program have administrator privileges allowing it to register DLLs etc. ?
Also, if the setup package executes a program as part of its operations, will that program be run with the administrator rights ?
This is controlled via the
PrivilegesRequired
directive.If the setup executes a program from the
[Run]
section, then you can control the privileges of the spawned process with therunascurrentuser
andrunasoriginaluser
flags.