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 using MSIEXEC.


To install the powerGateServer silently, run following command in an elevated command line:

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


Install from a network location:

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


The parameter /i means install and /qn stands for a silent.

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!

The parameter ACCEPT_EULA=1 has to be passed in order to accept the end user license agreement.

 

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 ADDSOURCE option.

The catalogservice is always installed when you install powerGateServer. 

Possible values are:

  • ALL: Installs all features
  • S_SAP: Installs only the SAP plugin
  • S_ERP: Installs only the ERP plugin
  • S_CatalogService: Use this option if you don't want additional plugins to be installed.


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

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


In this example powerGateServer will be installed with the SAP plugin:

msiexec /i "Path\to\powerGateServer19.0_x64.msi" ADDSOURCE=S_SAP /qn ACCEPT_EULA=1


Uninstallation

The /x option uninstalls powerGateServer and /qn is the option for a silent uninstall.

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


See Also

Install other coolOrange products