Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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). 

...


Code Block
languagec#
CxSetup.exe /install /quiet BI=0 ACCEPT_EULA=Y LIC=C:\LIC\license.cxl SQLAUTH=1 SQLSERVER=localhost\SQLEXPRESS SQLUSER=SqlUser SQLPWD=SqlPassword CXARM_DB_USER=SqlUser

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).

Info

When SQLAUTH is set to 0, the SQLUSER and SQLPWD settings are ignored.


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).

Info

When SQLAUTH is set to 0, the CXARM_DB_USER and CXARM_DB_PASSWORD settings are ignored.


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.

Info

The license can also be installed once the installation is complete.


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:

Code Block
languagec#
CxSetup.exe /install /quiet ACCEPT_EULA=Y LIC=C:\LIC\license.cxl BI=1 ENGINE=1 MANAGER=1 WEB=1 AUDIT=1 INSTALLSHORTCUTS=1

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

Code Block
languagec#
CxSetup.exe /install /quiet ACCEPT_EULA=Y LIC=C:\LIC\license.cxl BI=0 ENGINE=0 MANAGER=1 WEB=0 AUDIT=0 INSTALLFOLDER=”d:\Cx” INSTALLSHORTCUTS=0

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

Code Block
languagec#
CxSetup.exe /install /quiet ACCEPT_EULA=Y BI=1 SQLAUTH=1 SQLSERVER=192.168.0.0\SQLEXPRESS SQLUSER=sa SQLPWD=12345 CXARM_SQLAUTH=1 CXARM_DB_USER=test CXARM_DB_PASSWORD=Pass

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

Code Block
languagec#
CxSetup.exe /install /quiet ACCEPT_EULA=Y ENGINE=0 MANAGER=1 WEB=0 AUDIT=0 BI=0 SQLAUTH=1 SQLSERVER=LOCALHOST\SQLEXPRESS SQLUSER=SqlUser SQLPWD=SqlPassword

To perform a silent install for engine only: 

Code Block
languagec#
CxSetup.exe /install /quiet ACCEPT_EULA=Y ENGINE=1 MANAGER=0 WEB=0 AUDIT=0 BI=0

To perform a silent uninstall: 

Code Block
languagec#
CxSetup.exe /uninstall /quiet
Section
Column

See more:

Child pages (Children Display)
pageInstalling CxSAST in Silent Mode

column

.