Automating Product Installation

Sometimes it is needed to install a product from the command line silently. This is very useful for distributing a product to multiple clients in order to automate the deployment to a large number of machines in the network.

Installation

All coolOrange setups are bootstrappers of type EXE (except powerGateServer which is a MSI installer) and only supports the standard options of MSIEXEC.

To install them without a user interface run following command. In this example powerEvents v20 for Vault 2020:

Command Line

"Path\to\powerEvents20.0_Vault2020.exe" -silent ACCEPT_EULA=1
Installing from a network location:
"\\path\to\networkLocation\powerEvents20.0_Vault2020.exe" -silent ACCEPT_EULA=1

 PowerShell

& "C:\Path\To\powerEvents24.0_Vault2024.exe" -silent ACCEPT_EULA=1

Installing from a network location

& "\\Path\To\networkLocation\powerEvents24.0_Vault2024.exe" -silent ACCEPT_EULA=1

 

Uninstallation

Run this command to uninstall a product. the -silent parameter means that the product gets uninstalled without interacting with the user:

Command Line

"C:\Path\to\powerEvents20.0_Vault2020.exe" -uninstall -silent

PowerShell

& "C:\Path\To\powerEvents24.0_Vault2020.exe" -uninstall -silent

Remarks

If permissions are missing a User Account Dialog could be shown when installing silently. To avoid that you can run the command as an administrator.

See Also