ShareX / ShareX

ShareX is a free and open source program that lets you capture or record any area of your screen and share it with a single press of a key. It also allows uploading images, text or other types of files to many supported destinations you can choose from.

Home Page:https://getsharex.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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