MSI file configuration from a shell

A description of how to execute a Microsoft Software Installer (MSI) from a shell.

The Microsoft Documentation describes how to execute an Microsoft Software Installer (MSI) from a shell:
  • Install Arc: msiexec /i "arc.windows.amd64.msi" /L*v "installer.log"
  • Uninstall Arc: msiexec /x "arc.windows.amd64.msi" /L*v "installer.log"

To execute msiexec from PowerShell preserving arguments, use --%. For example: msiexec --% /i "arc.windows.amd64.msi" /L*v "installer.log"

You can pass custom arguments to the setup installer by setting the ARGS property. For example: msiexec /i "arc.windows.amd64.msi" /L*v "installer.log" ARGS="--mode=silent"

MSI installer parameters

The following table describes all supported parameters for the Arc MSI installer.

Parameter Valid values Default Description
--mode gui, silent gui Select the setup mode.
--acceptLicense true, false false Set the license as accepted. Mandatory for silent mode.
--endpoint endpoint address Set the connection endpoint.
--token token string Set the connection token.
--verifyCertificate true, false false Enable validation of the upstream transport layer security (TLS) certificate. Always enforced for Vantage. Uses the value from the arc.json configuration file if not set.
--installDeps all, easefilter, npcap, pscorescriptblocklogging, psscriptblocklogging, usbpcap, sysmon all Set the list of dependencies to install. Separate multiple values with a comma. Set all to install all dependencies.
--uninstallDeps all, easefilter, npcap, pscorescriptblocklogging, psscriptblocklogging, usbpcap, sysmon '' (empty) Set the list of dependencies to uninstall. Separate multiple values with a comma. Set all to uninstall all dependencies.
--sysmonPath file path Set the path to the sysmon.zip installer archive. If not set, Sysmon is downloaded from Guardian, Vantage, or Microsoft.
--rebootIfRequired true, false true Reboot the system automatically if required.
--createShortcutIcon true, false true Create a desktop shortcut icon.
--startService true, false true Start the Arc service automatically after installation.
--configFile file path Specify an arc.json file to use for configuration.
--removeLogs true, false Remove Arc logs during cleanup.
--preserveConfig true, false Preserve the arc.json configuration during uninstallation.