Suggestion: Support /ALLUSERS in installer exe for system install
um-joalexis opened this issue · comments
As it stands, for SCCM installs that run as SYSTEM, /SUPPRESSMSGBOXES must be used to suppress error dialogs during /VERYSILENT install, and some steps of the install are skipped due to these errors. Support for an /ALLUSERS option would be great.
Assuming this is a regular Inno Setup install script, it just needs PrivilegesRequiredOverridesAllowed added to the [Setup]
section of https://github.com/ShareX/ShareX/blob/v16.1.0/ShareX.Setup/InnoSetup/ShareX-setup.iss :
PrivilegesRequiredOverridesAllowed=commandline
This will instruct Inno Setup to allow overridding the PrivilegesRequired=none using the command line arguments.
Relevant docs:
https://jrsoftware.org/ishelp/index.php?topic=setup_privilegesrequired
https://jrsoftware.org/ishelp/index.php?topic=setup_privilegesrequiredoverridesallowed