-
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>\SIWebAPI_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 Instrumentation installation:
"\\SIWebAPIInstall\Setup Files\SIWebAPI_Setup.exe" /install /silent InstallFolder="C:\Program Files (x86)\SmartPlant\Instrumentation\WEB Services\SI WEB API\<version number>" /log" C:\Setup.log" SLAACCEPT="YES" SERIALNUM="012345678" 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 |
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.
-
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