Our products can be installed silently using a .bat file or the Windows command line. This article is just a list of the possible command line arguments. This is taken from the QC-CALC Real-Time Reference Manual.
Argument | Options | Function |
installprod
| RT , SPC , Mon , Ent , RTMon , SPCMon , All
| Specifies product(s) to silently install |
activationpref
| CALC , RT , SPC , GS
| Specifies product type to license using PLS |
destinationpath
| Any custom install path | Species a custom install path |
adminpath
| Path to an Admin Tools folder | Species Admin Tools location |
username
| First and Last name | Sets Tools > Options > Global > Customer Information > User Name |
companyname
| Company name | Sets Tools > Options > Global > Customer Information > Company Name |
usergroup
| User group name | The user group to apply when the program is opened |
plsserver
| PLS Server name | PLS Server for license activation |
plspassword
| PLS Password | Password for PLS license activation |
plsport
| TCP port number | Port used by PLS for license activation (if non-standard) |
psn
| Prolink Serial Number | PSN of license to use for activation |
activationcode
| License activation code | Used to reactivate license with an existing code |
sqlservername
| SQL Server name | Sets SQL Server name in Tools > Options > Data Storage |
sqldatabasename
| SQL database name | Sets the SQL database name in Tools > Options > Data Storage |
sqluser
| SQL Server user name | Sets the SQL Server user name in Tools > Options > Data Storage |
sqlpassword
| SQL Server password | Sets the SQL Server password in Tools > Options > Data Storage |
sqluserwindowsauth
| 0 or 1
| Enables (1) or disables (0) using a Windows user name for SQL Server authentication (toggles setting in Tools > Options > Data Storage) |
sqlencrypt
| 0 or 1
| Enables (1) or disables (0) using encryption when connecting to SQL Server (toggles setting in Tools > Options > Data Storage) |
activationpref
The activation preference flag is used to specify the product type to license. Possible values for the
activationpref
are:
CALC
(QC-CALC Enterprise (SPC & RT) RT
(QC-CALC Real-Time only)SPC
(QC-CALC SPC only )GS
(GageStation - QC-CALC Real-Time & QC-Gage)
installprod
The installed product flag is used to specify the products to install. Possible values for installprod
include: RT
, SPC
, Mon
, Ent
, RTMon
, SPCMon
, and All
.
RT
(QC-CALC Real-Time)SPC
(QC-CALC SPC)Mon
(QC-CALC Monitor)Ent
(QC-CALC Real-Time & QC-CALC SPC)RTMon
(QC-CALC Real-Time & QC-CALC Monitor)SPCMon
(QC-CALC SPC & QC-CALC Monitor)All
(QC-CALC Real-Time, QC-CALC SPC & QC-CALC Monitor)
Notes
- Put double-quotes around the path to the installer, e.g.:
"C:\Users\Sophie\Downloads\QCCALCDemo43New.exe";
- Put semicolons (
;
) after each argument, e.g. ;/silent;destinationpath=
/silent
must be included after the path to the installer, but before other arguments
Example Commands
This command uses all possible command line arguments. It will install QC-CALC Real-Time and QC-CALC SPC, activate them as QC-CALC Enterprise using PLS with a login and password and set up the SQL Server connection information.
"\\prolink1\Make\Demo\QCCALCDemo43.exe";/silent;destinationpath=C:\Program Files (x86)\Prolink\QC-CALC 4.3\;adminpath=H:\SPC\Admin\;usergroup=Operator;username=Bruce; companyname=My Co.;plsserver= Prolink1;plsport=25928; plspassword=;activationpref=CALC;installprod=Ent;sqlservername=MyServer\SQLExpress; sqldatatabasename=qc_calc;sqluser=qccadmin;sqlpassword=NimdaccQ12; sqluserwindowsauth=0;sqlencrypt=0;
Here is a simpler example that will install only QC-CALC Real-Time and QC-CALC Monitor:
"C:\Users\Sophie\Downloads\QCCALCDemo43.exe";/silent;destinationpath=C:\Program Files (x86)\Prolink\QC-CALC 4.3 MON;installprod=RTMon