Configuration parameters for silent PI Manual Logger Web installation
- Last UpdatedNov 22, 2022
- 2 minute read
- PI System
- PI Manual Logger 2017 R2
- Visualization
The parameters that you need to specify to install different components for the PI Manual Logger Web server are described in the following tables and syntax examples.
Command line arguments
|
Argument |
Description |
|---|---|
|
ADDLOCAL |
Specifies features to install, as described below. |
|
ALLUSERS |
Specifies the per-computer or per-user installation context. Use a value of 1 for silent installations. |
|
REBOOT |
Restarts the computer. Use a value of Suppress for silent installations. |
|
FDSQLDBSERVER |
Specifies the SQL Server instance. |
|
FDSQLDBNAME |
Specifies the SQL Server database. |
|
FDSQLDBVALIDATE |
Specifies that the SQL Server connection is validated if the SQL Server Script Execution feature is not selected. A value of 0 bypasses the connection validation. If not specified, the SQL Server connection is validated. |
|
WEBSITE |
Specifies the IIS Website name. |
ADDLOCAL arguments
The following table lists the features specified by the ADDLOCAL argument. Feature names are case sensitive. ADDLOCAL values consist of a comma-separated list and cannot contain any spaces. To install all features, use ADDLOCAL=ALL.
|
Internal feature/command line name |
User-friendly feature name |
Description |
|---|---|---|
|
ALL |
N/A |
All features are installed. |
|
FD_PIMLWeb |
Web Application |
This feature installs PI Manual Logger Web into IIS. |
|
FD_StoredProcedures |
PI ML SQL Database |
This feature installs the PIML Web Stored Procedures to the Piml.Web\SQL folder. |
|
FD_ExecuteStoredProcedures |
Execute SQL Scripts |
This feature handles the execution of the PIML Web Server stored procedures during the installation process. If this feature is included for installation, the SQL Server scripts are executed. If it is not included, the scripts are not executed. Note: If you include this feature in a silent installation, you must also use the FD_SQLServer feature. |
Syntax examples
For a silent PI Manual Logger Web installation, use the syntax shown in one of the following examples. Note that the /i argument specifies an installation, and the /qn argument specifies “quiet mode” and suppresses dialog boxes and prompts.
-
Install all PI Manual Logger Web server features. Either of these commands install all PI Manual Logger Web features:
msiexec.exe /i PimlWebSetup_<Version #>.msi REBOOT=Suppress ADDLOCAL=ALL FDSQLDBSERVER=.\sqlexpress FDSQLDBNAME=PimlWindows WEBSITE=”Default Web Site” ALLUSERS=1 /qn
msiexec.exe /i PimlWebSetup_<Version #>.msi REBOOT=Suppress FDSQLDBSERVER=.\sqlexpress FDSQLDBNAME=PimlWindows WEBSITE=”Default Web Site” ALLUSERS=1 /qn
Note: If the ADDLOCAL property is not defined on the command line as shown above, the default is the value of ALL.
-
Install PI Manual Logger Web to IIS without installing and executing the SQL scripts:
msiexec.exe /i PimlWebSetup_<Version #>.msi REBOOT=Suppress ADDLOCAL=FD_PIMLWeb FDSQLDBSERVER=machine.\sqlexpress WEBSITE=”Default Web Site” FDSQLDBNAME=PimlWindows ALLUSERS=1 /qn
-
Install PI Manual Logger Web SQL scripts without executing the SQL scripts:
msiexec.exe /i PimlWebSetup_<Version #>.msi REBOOT=Suppress ADDLOCAL=FD_StoredProcedures FDSQLDBSERVER=.\sqlexpress FDSQLDBNAME=PimlWindows ALLUSERS=1 /qn
Note: You need to execute the scripts manually after installation.
-
Install and execute PI Manual Logger Web SQL scripts without installing PI Manual Logger Web:
msiexec.exe /i PimlWebSetup_<Version #>.msi REBOOT=Suppress ADDLOCAL=FD_StoredProcedures,FD_ExecuteStoredProcedures FDSQLDBSERVER=.\sqlexpress FDSQLDBNAME=PimlWindows ALLUSERS=1 /qn
Note: To include the FD_StoredProcedures feature, you must also include the FD_ExecuteStoredProcedures feature.