At each workstation on which you want to install the software, open a Command Prompt window and enter the silent installation command according to the following syntax:
“<setup source folder path>\ path>\INS_setup.exe” /install /silent INSTALLFOLDER="<path>" /log "<log file path and name>.log" SLAACCEPT=”YES” SERIALNUM="<product serial number>” ADDLOCAL="ALL" USERNAME="<user>" COMPANYNAME="<your company name>"
pause
Example command line for Smart Instrumentation installation:
"\\SIInstall\Setup Files\INS_setup.exe" /install /silent InstallFolder="C:\Program Files (x86)\SmartPlant" /log "C:\Setup.log" SLAACCEPT="YES" SERIALNUM="012345678" ADDLOCAL="ALL" USERNAME="TEST" COMPANYNAME="HEXAGON"
pause
For more command line examples, see: Silent Mode Example Scripts (SI) (v14)
Command Line Arguments
The following table displays the default features and switches.
Argument/Switch |
Description |
Mandatory |
Notes |
---|---|---|---|
<setup source folder path> |
The path to the file that launches the setup |
Yes |
|
INS_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 |
If no value is specified, the default installation folder path is: "C:\Program Files (x86)\SmartPlant\". |
SLAACCEPT |
Approve license agreement |
Yes |
Accepted value: YES |
SERIALNUM |
Sets the serial number to be used for installation |
Yes |
A valid serial number |
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:
|
USERNAME |
Sets the username |
This argument is mandatory for an Evaluation Mode installation. |
|
COMPANYNAME |
Sets the company name |
This argument is mandatory for an Evaluation Mode installation. |
|
REMOVE |
The value of the REMOVE argument is a list of features that are to be removed or excluded when modifying an installation. |
For use with the /modify argument. Accepted values: Specified list of features delimited by commas. The features are present in the Feature column of the Feature table. |
-
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.
-
Installing Smart Instrumentation without using the argument ADDLOCAL, installs the features listed in the Basic Features table by default.
-
The ADDLOCAL = "SI" argument installs the basic feature Smart Instrumentation, but doesn't install the other features listed in the tables below unless they are included with the ADDLOCAL argument.
-
The ADDLOCAL = "ALL" argument installs all of the Smart Instrumentation features listed in both of the tables below.
Arguments are case sensitive.
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 Instrumentation |
SI |
Smart Instrumentation is always installed regardless of whether this argument is specified for ADDLOCAL. To install this feature alone, use the syntax ADDLOCAL = "SI". The REMOVE argument cannot be used for this feature. |
Admin Tools |
ADMIN |
Use with ADDLOCAL to install this feature or with REMOVE to remove or exclude this feature when modifying the installation. |
Import Utility |
IMPORT |
Use with ADDLOCAL to install this feature or with REMOVE to remove or exclude this feature when modifying the installation. |
Merger Utility |
MERGER |
Use with ADDLOCAL to install this feature or with REMOVE to remove or exclude this feature when modifying the installation. |
Administration Module |
ADMIN |
Use with ADDLOCAL to install this feature or with REMOVE to remove or exclude this feature when modifying the installation. |
Rule Manager |
RULEMANAGER |
Use with ADDLOCAL to install this feature or with REMOVE to remove or exclude this feature when modifying the installation. |
Documentation |
DOCUMENTATION |
Use with ADDLOCAL to install this feature or with REMOVE to remove or exclude this feature when modifying the installation. |
Optional Features
The following table lists optional features and their arguments that you can install using the silent installation.
Feature |
Argument Value |
Notes |
---|---|---|
Libraries |
LIBRARIES |
Installs all the libraries supplied with the software. |
CAD Block Library |
CadBlockLibrary |
|
Specification Library |
Spec_psr |
To install specific features, use the syntax: ADDLOCAL="SI,FEATURE1,FEATURE2", such as: ADDLOCAL="SI,IMPORT,RULEMANAGER".
To skip or remove specific features, use the syntax: REMOVE="FEATURE1,FEATURE2", such as: REMOVE="RULEMANAGER, IMPORT".
-
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