-
At each workstation on which you want to install the software, open Command Prompt as an Administrator and enter the command according to the following syntax:
"<setup source folder path>\setup.exe" /install /silent INSTALLFOLDER="<path>" /log "<log file path and name>.log" SLAACCEPT="YES" SERIALNUM="<product serial number>" 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 P&ID installation:
"\\SPPIDInstall\Setup Files\setup.exe" /install /silent INSTALLFOLDER="C:\Program Files (x86)\SmartPlant" /log" C:\Setup.log" SLAACCEPT="YES" SERIALNUM="012345678" ADDLOCAL="ALL"
Pause
Example command line for Smart P&ID Engineering installation:
"\\SPPIDInstall\Setup Files\setup.exe" /install /silent INSTALLFOLDER="C:\Program Files (x86)\SmartPlant" /log" C:\Setup.log" SLAACCEPT="YES" SERIALNUM="012345678" PIDMODE="1" ADDLOCAL="ALL"
Pause
-
Command Line Arguments
Argument |
Description |
Mandatory |
Notes |
---|---|---|---|
<setup source folder path> |
The path to the file that launches the setup |
Yes |
|
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 |
SERIALNUM |
Sets the serial number to be used for installation |
Yes |
A valid serial number |
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. |
PIDMODE |
Determines the installation mode (installs Smart P&ID or Smart P&ID Engineering) |
No |
Accepted values:
|
-
Command line arguments and their values are case-sensitive; therefore, you must ensure that they have entered 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.
Features in this table are installed by default if the ADDLOCAL argument is not present in the command line.
Features |
Argument Value |
Notes |
---|---|---|
Drawing Manager and one of the following:
|
SPPID |
These features are always installed regardless of whether this argument is specified for ADDLOCAL. To install these features alone, use the syntax ADDLOCAL = "SPPID" and specify the appropriate PIDMODE argument value. The REMOVE argument cannot be used for these features. |
Optional Features
Features |
Argument Value |
Notes |
---|---|---|
Options Manager |
OPTIONSMGR |
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. |
Insulation Specifications Manager |
INSULATIONMGR |
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. |
Rule Manager |
RULEMGR |
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="OPTIONSMGR,RULEMGR". To skip or remove specific features, use the syntax: REMOVE="FEATURE1,FEATURE2", for example: REMOVE="INSULATIONMGR".
-
Restart the workstation after installation.
The setup stops and logs an error if a mandatory argument is missing or incorrect. After installation, check the log file to ensure that the installation proceeded without errors. If the silent installation is successful, the log file ends with: Exit code: 0x0