Installing/Uninstalling CxSAST (v8.8.0 to v8.9.0)

The CxSAST silent install / uninstall enables you to specify property values from the command line (CLI) and is ideal for part of a large-scale enterprise deployment. This method gives you the ability to perform a clean install, upgrade and uninstall of CxSAST silently (without constant interaction or prompts). 

Prerequisites

The following prerequisites must be installed prior to executing silent installation:

  • C++ Redist 2010
  • IIS v7.0 (or greater)
  • MS SQL

Syntax

Parameters 

Parameter

Description

/?

Opens the help dialog.

/install /uninstall /quiet

Installs or uninstalls CxSAST silently (Install is the default). Displays no UI and no prompts. By default, UI and all prompts are displayed.

ACCEPT_EULA=
Sets EULA (End User License Agreement) variable with Y to accept, or N to not accept (ACCEPT_EULA=N is the default). Must be set to Y to run the installation.
INSTALLFOLDER=
Sets the installation directory path (e.g. INSTALLFOLDER=”D:\TEMP DIR”,
INSTALLFOLDER=D:\TEMP)
MANAGER=

Sets Manager component variable with 1 to install, or 0 to remove\not install.

(MANAGER=1 is default)
WEB=
Sets Web component variable with 1 to install, or 0 to remove\not install
(WEB=1 is the default).
ENGINE=

Sets Engine component variable with 1 to install, or 0 to remove\not install (ENGINE=1 is the default)

AUDIT=

Sets Audit component variable with 1 to install, or 0 to remove\not install (AUDIT=1 is the default).

BI=
Sets BI component (CxARM) variable with 1 to install, or 0 to remove\not install.
(BI=1 is the default).
INSTALLSHORTCUTS=

Sets application shortcuts variable with 1 to install shortcuts, or 0 to not install shortcuts (INSTALLSHORTCUTS=1 is the default).

SQLAUTH=

Sets the SQL authentication mode for CxSAST. Use 0 for Windows authentication or 1 for SQL authentication (SQLAUTH=0 is the default).

SQLSERVER=

Sets the SQL server address and instance for CxSAST (e.g. SQLSERVER= localhost\SQLEXPRESS)

SQLUSER=

Sets the SQL user credential for CxSAST (e.g. SQLUSER=sa)

SQLPWD=

Sets the SQL password credential for CxSAST (e.g. SQLPWD=12345)

MQHTTPPORT=
Sets the CxARM message broker port definition (MQHTTPPORT=61616 is the default).
TOMCATUSERNAME=
Sets user credential for Apache Tomcat (e.g. TOMCATUSERNAME=admin).
TOMCATPASSWORD=
Sets password credential for Apache Tomcat (e.g. TOMCATPASSWORD=123456).
TOMCATHTTPPORT=
Sets Apache Tomcat HTTP port definition (TOMCATHTTPPORT=8080 is the default).
TOMCATHTTPSPORT=
Sets Apache Tomcat HTTPS port definition (TOMCATHTTPPORT=8443 is the default).
TOMCATSHUTDOWNPORT=
Sets Apache Tomcat shutdown port definition (TOMCATSHUTDOWNPORT=8005 is the default).
TOMCATAJPPORT=
Sets Apache Tomcat AJP port definition (TOMCATAJPPORT=8009 is the default).
CXARM_SQLAUTH=

Sets the SQL authentication mode for CxARM. Use 0 for Windows Authentication or 1 for SQL Authentication (CXARM_SQLAUTH=0 is the default).

CXARM_DB_HOST=
Sets the SQL server address and instance for CxARM (e.g. CXARM_DB_HOST=localhost\SQLEXPRESS)
CXARM_DB_USER=

Sets the SQL user credential for CxARM (e.g. CXARM_DB_USER=sa)

CXARM_DB_PASSWORD=
Sets the SQL password credential for CxARM (e.g. CXARM_DB_PASSWORD=12345)
LIC=

Sets the license path (e.g. LIC="C:\Users\Administrator\Documents\license.cxl"). Note - If the license check fails, the license will not be installed.

PORT=

Sets the port definitions (PORT=80 is the default)

Remarks

  • The default silent installation command is <Path-To-Installer-File> /install /quiet
  • By default most options and components are set to 1 (enabled).
  • SQL Server connection Requirements:
    • For both SQL Server connection methods: The SQL Server Browser Windows service must be enabled and started.
    • For the Integrated Windows Authentication method: The server must be part of a Windows domain.
  • When upgrading CxSAST using the silent install method, you should not change the existing port settings or the application will not function properly. Changing the port settings can be performed manually after the upgrade is complete.

Examples 

To perform a silent installation with all components using windows integrated authentication and creating shortcuts:

To perform a silent installation with only Manager Component to d:\Cx and without shortcuts created:

To perform a silent installation to a default location with all components without a license (the license can be imported later) – using SQL authentication:

To perform a silent install to a default location with only Manager Component – using SQL authentication:

To perform a silent install for engine only: 

To perform a silent uninstall: 

.