You can install the retired SmartPlant Markup Plus Server in silent mode, which requires no user interaction as the software installs.
To install SmartPlant Markup Plus versions 2019 SP 1 or prior in silent mode, use the installation executable file at the command prompt with the required information passed as arguments.
-
You must have administrator privileges to run the silent installation.
-
Argument values that contain spaces must be enclosed in quotes.
Required silent install parameters
The required silent install parameters and their descriptions are listed in the following table.
Parameter |
Description |
---|---|
[full path to SPM_setup.exe] |
Specifies the full path to SPM_setup.exe. |
-q, -quiet, -s, -silent |
Runs in silent mode (no prompts). |
-install |
Performs an installation. You can also use the -uninstall parameter to uninstall all components of the SmartPlant Markup Plus software, including the server. When uninstalling, none of the remaining parameters are required. |
SLAACCEPT |
Accepts the software license agreement. This must be SLAACCEPT=YES. |
SERIALNUM |
Provides the product serial number. |
INSTALLSPMSERVER |
Indicates whether to install the SmartPlant Markup Plus Server. To install the server, this must be INSTALLSPMSERVER=1. |
SERVERPASSWORD All of the letters of the parameter name must be in uppercase. |
The password used to log on and run the Brava! Job Processor and Blazon Queue Server services. The user name associated with this password is the optional SERVERUSERNAME parameter, described below. If you are using a version prior to SmartPlant Markup Plus 2019 Service Pack 1, the job processor service is called Blazon Job Processor. |
WEBAPPSPATH |
Full path to the Apache Tomcat webapps directory. Apache Tomcat must be configured with 64-bit Java Runtime Environment. |
Optional silent install parameters
The optional silent install parameters and their descriptions are listed in the following table.
Parameter |
Default |
Description |
---|---|---|
-l, -log |
%temp% |
The location for the installation log file. The user running the silent install must have write access to the log file location. Otherwise, the installation fails without generating a log file. |
INSTALLFOLDER |
C:\Program Files(x86)\SmartPlant\Markup |
Specifies a path to the location where the software is to be installed. Silent installation will fail if the installation path ends in \ (backslash). |
COMPANYNAME |
Hexagon PPM |
The name of the company that the software is registered to. |
USERNAME |
PPM |
The name of the user that the software will be registered to. |
SERVERUSERNAME |
Domain\username of the account running the silent install |
The username used to log on and run the Brava! Job Processor and Blazon Queue Server services. If you are using a version prior to SmartPlant Markup Plus 2019 Service Pack 1, the job processor service is called Blazon Job Processor. |
HOSTNAME |
Fully qualified domain name of the server where the silent install is being run |
The fully qualified domain name of the server machine where you are installing the SmartPlant Markup Plus Server software. A fully qualified server name is usually in the format: ServerName.DomainName.com. |
URLPREFIX |
HTTP |
The URL prefix for the SmartPlant Markup Plus Server. For secure connections (SSL), this must be URLPREFIX=HTTPS. For non-secure connections, this must be URLPREFIX=HTTP. |
PORTNUMBER |
8080 |
The port used for SmartPlant Markup Plus Server. For secure connections (SSL), this is usually PORT=8443. For non-secure connections, this is usually PORT=8080. Port numbers must be between 0 and 65535. |
Examples
The following example installs SmartPlant Markup Plus Server with the required arguments only:
[full path to SPM_setup.exe] -silent -install INSTALLSPMSERVER=1 SERIALNUM=[serial number] SLAACCEPT=YES SERVERPASSWORD=[my password] WEBAPPSPATH=[full path to the Apache Tomcat webapps directory]
The following example installs SmartPlant Markup Plus Server in a specified folder and defines a log file location:
[full path to SPM_setup.exe] -q -install INSTALLSPMSERVER=1 SERIALNUM=[serial number] SLAACCEPT=YES SERVERPASSWORD=[my password] WEBAPPSPATH=[full path to the Apache Tomcat webapps directory] INSTALLFOLDER="D:\Program Files (x86)\SmartPlant\Markup" –log “D:\Logs\SmartPlantMarkupPlus.log”
The following example installs SmartPlant Markup Plus Server for secure connections (SSL):
[full path to SPM_setup.exe] -q -install INSTALLSPMSERVER=1 SERIALNUM=[serial number] SLAACCEPT=YES SERVERPASSWORD=[my password] URLPREFIX=HTTPS PORTNUMBER=8443 WEBAPPSPATH=[full path to the Apache Tomcat webapps directory]
The following example removes all the SmartPlant Markup Plus components, including SmartPlant Markup Plus Server:
[full path to SPM_setup.exe] -quiet -uninstall
Running the silent installation
-
Prior to running a silent setup of SmartPlant Markup Plus over a network, ensure that the following conditions exist:
-
All existing versions of the software have been uninstalled prior to network installation.
-
The target computer meets the free disk space recommendations specified in SmartPlant Markup Plus Hardware and Software Recommendations.
-
All applications are closed.
-
-
Log on as an administrator with write access to the log file path.
You must have write access to the log file location. Otherwise, the installation fails without generating a log file.
-
Click Start > Control Panel > System and Security > Action Center, and click Change User Account Control settings.
-
Turn UAC off by moving the slider to Never notify, and then click OK.
UAC can be returned to its previous setting when installation is complete.
-
Using administrator privileges, open a Command Prompt window from the Start menu.
-
At the command prompt, type a command to install SmartPlant Markup Plus.