-
At each workstation on which you want to install the software, open a Command Prompt window and type the silent installation command according to the following syntax:
"<setup source folder path>\SPEM_setup.exe" /install /silent INSTALLFOLDER="<path>" /log "<log file path and name>.log" SLAACCEPT="YES" ADDLOCAL="ALL"
Ensure that the command line includes spaces where shown before and after arguments.
-
Double quotes are required only if the path to the setup file contains spaces.
-
Argument values are case sensitive.
-
Mandatory arguments are validated by the setup procedure. If an argument or option is missing, the setup stops and a log is produced with the name of the missing argument.
Example command line for Smart Admin installation:
"\\SPEMInstall\Setup Files\SPEM_setup.exe" /install /silent INSTALLFOLDER="C:\Program Files (x86)\SmartPlant" /log" C:\Setup.log" SLAACCEPT="YES" ADDLOCAL="ALL"
Pause
-
Command Line Arguments
Argument |
Description |
Mandatory |
Notes |
---|---|---|---|
<setup source folder path> |
The path to the file that launches the setup |
Yes |
|
SPEM_setup.exe |
The name of the file that launches the setup |
Yes |
|
-install |
Install product |
No |
|
-uninstall |
Uninstall product |
No |
|
-repair |
Repair product |
No |
|
-modify |
Modify product features |
No |
|
-s, -silent |
Silent mode |
Yes |
This argument is required for silent mode installation, together with the mandatory custom command line arguments; otherwise, the installation user interface is displayed. |
-l, -log |
Specifies a log file |
No |
If the log argument is used, a valid file path and name must be specified. |
INSTALLFOLDER |
Specifies the installation folder |
No |
The default installation folder should be set in bundle.wxs. If no value is specified, the default installation folder path is: "C:\Program Files (x86)\SmartPlant\". |
SLAACCEPT |
Approve license agreement |
Yes |
Accepted value: YES |
USERNAME |
Sets the user name |
See 'Notes' |
This argument is mandatory for an Evaluation Mode installation |
COMPANYNAME |
Sets the company name |
See 'Notes' |
This argument is mandatory for an Evaluation Mode installation |
ADDLOCAL |
The value of the ADDLOCAL argument is a list of features that are to be installed locally. If the ADDLOCAL argument is not present in the command line, the software installs features according to the default settings (for details, see the Notes below). |
No |
For use with the /install and /modify arguments. Accepted values:
|
REMOVE |
The value of the REMOVE argument is a list of features that are to be removed or excluded when modifying an installation. |
No |
For use with the /modify argument. Accepted values: Specified list of features delimited by commas. The features must be present in the Feature column of the Feature table. The features available for this product are listed in the Notes below. |
-
Command line arguments and their values are case-sensitive; therefore, you must ensure that they are typed exactly as shown in the above table.
-
Each command line argument must be preceded by a '-' or '/' delimiter, for example: -install - silent or /install / silent
-
If none of the arguments: install, uninstall, repair, or modify is specified, install is assumed as the default.
-
The ADDLOCAL = "ALL" argument installs all the basic and optional features listed in the tables below.
Basic Features
The basic features are the same as those selected by default in the regular interface.
All the features in this table are installed by default if the ADDLOCAL argument is not present in the command line.
Feature |
Argument Value |
Notes |
---|---|---|
Smart Engineering Manager |
ENGINEERINGMGR |
Smart Engineering Manager is always installed regardless of whether this argument is specified for ADDLOCAL. To install this feature alone, use the syntax ADDLOCAL = "ENGINEERINGMGR". The REMOVE argument cannot be used for this feature. |
Catalog Manager |
CATALOGMGR |
Use with ADDLOCAL to install this feature or with REMOVE to remove or exclude this feature when modifying the installation. |
Data Dictionary Manager |
DATADICTMGR |
Use with ADDLOCAL to install this feature or with REMOVE to remove or exclude this feature when modifying the installation. |
Data Dictionary Comparison Utility |
DDTCOMPARE |
Use with ADDLOCAL to install this feature or with REMOVE to remove or exclude this feature when modifying the installation. |
Filter Manager |
FILTERMGR |
Use with ADDLOCAL to install this feature or with REMOVE to remove or exclude this feature when modifying the installation. |
Format Manager |
FORMATMGR |
Use with ADDLOCAL to install this feature or with REMOVE to remove or exclude this feature when modifying the installation. |
Reference Data Synchronization Manager |
RDSMGR |
Use with ADDLOCAL to install this feature or with REMOVE to remove or exclude this feature when modifying the installation. |
Optional Feature
Feature |
Argument Value |
Notes |
---|---|---|
Upgrade Utility |
UPGRADEUTIL |
This feature is not installed unless ADDLOCAL is present in the command line. Use with REMOVE to remove or exclude this feature when modifying the installation. |
To install specific features, use the syntax: ADDLOCAL="FEATURE1,FEATURE2", for example: ADDLOCAL="CATALOGMGR,UPGRADEUTIL". To skip or remove specific features, use the syntax: REMOVE="FEATURE1,FEATURE2", for example: REMOVE="RDSMGR,FILTERMGR".
-
After a successful installation, you may be required to restart the computer.
-
If a mandatory parameter or value is missing or the value is incorrect, the installation will stop and an error will be recorded in the log file. It is recommended that after installation, you check the .log file to ensure that the installation proceeded without errors. If the silent installation was successful, at the end of the .log file, the following string appears:
Exit code: 0x0