Automating powerGateServer Installation

Sometimes it is needed to install powerGateServer from the command line silently. It is possible to automate the deployment of the server itself with additional options to install the sample SAP and ERP plugin.

Installation

Because the Installer is a MSI file it can be installed via command line or a PowerShell Console using MSIEXEC.

To install the powerGateServer silently, run following command in an Command Line or PowerShell Console with elevated permissions

msiexec /i "Path\to\powerGateServer20.0_x64.msi" /qn /l "Path\to\logfile.txt" ACCEPT_EULA=1

Install from a network location:

msiexec /i "\\Path\to\networklocation\powerGateServer20.0_x64.msi" /qn /l "Path\to\logfile.txt" ACCEPT_EULA=1
 

The parameter /i means install and /qn stands for a silent installation without any user interaction.

In addition the parameter /l "<Path to a log file>" can be specified in order to get a log file for the Installation process. Please note that the file must already exist!

By default only the ERP plugin and the Catalogservice are getting installed together with the server instance.

Specify features

To be able to specify which plugins should be installed you can use the ADDLOCAL option.

The Catalogservice is always installed when you install powerGateServer. 

You can find the possible features on the powerGateServer Installation page on the coolOrange wiki.

In this example powerGateServer will be installed without additional plugins (only the Catalogservice is installed):

msiexec /i "Path\to\powerGateServer20.0_x64.msi" ADDLOCAL=S_CatalogService /qn ACCEPT_EULA=1
 

Multiple plugins can be installed by separating them using commas. In this example the SAP plugin and the Catalogservice get installed:

msiexec /i "Path\to\powerGateServer20.0_x64.msi" ADDLOCAL=S_SAP,S_CatalogService /qn ACCEPT_EULA=1
 

Uninstall

The /x option uninstalls powerGateServer and /qn is the option for a silent uninstall without user interface:

msiexec /x "Path\to\powerGateServer20.0_x64.msi" /qn /l "Path\to\logfile.txt"