Silent Install Command Line Arguments
Print Friendly View
written: 01/03/2025
last modified: 04/03/2025

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. These arguments can be used in silent install of QC-CALC (RT, SPC, and/or Monitor), Gage, GageStation, or SPC Office Buddy. Unless noted, these arguments are used to install versions 4.0, 4.1, 4.2, 4.3 and later.

Argument

Options

Function

Status

installprod

RT, SPC, Mon, Ent, RTMon, SPCMon, All

Specifies product(s) to silently install

Supported
New argument added in 4.3

activationpref

CALC, RT, SPC, GS

Specifies product type to license using PLS

Supported

destinationpath

Installation path. This must be specified or the install wizard will pop an interactive screen that the user must approve the destination path.

Defines the destination folder the will be the root for the installed Prolink application(s). This is typically a path like "C:\Program Files (x86)\Prolink\QC-CALC 4.3\". (This trailing slash [\] is needed.)

Supported

adminpath

Path to an Admin Tools folder

Defines Admin Tools file path. (Used in versions before RT 4.3.22 released in Dec 2024. This version moved the .adm files into SQL or Global.dat.)

Supported but this will not be used after 4.3.22

username

First and Last name

Sets Tools > Options > Global > Customer Information > User Name. Used in reports. Stored in prolink.xml

Supported

companyname

Company name

Sets Tools > Options > Global > Customer Information > Company Name. Used in reports. Stored in prolink.xml.

Supported

usergroup

User group name

The user group to apply when the program is opened.

Supported

plsserver

PLS Server name

PLS Server for license activation.

Supported

plspassword

PLS Password

Password for PLS license activation.

Supported

plsport

TCP port number

Port used by PLS for license activation (if non-standard). Default is 25928.

Supported

psn

Prolink Serial Number

PSN of license to use for activation via PLS of all applications being installed.

Supported
old way to identify the license.

activationcode

License activation code

Used to activate all install applications (without using PLS)

Supported

sqlservername

SQL Server name

Sets SQL Server name in Tools > Options > Data Storage

Supported
but it may not work on some applications before 4.3.

sqldatabasename

SQL database name

Sets the SQL database name in Tools > Options > Data Storage

Supported
but it may not work on some applications before 4.3.

sqluser

SQL Server user name

Sets the SQL Server user name in Tools > Options > Data Storage

Supported
but it may not work on some applications before 4.3.

sqlpassword

SQL Server password

Sets the SQL Server password in Tools > Options > Data Storage

Supported
but it may not work on some applications before 4.3.

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)

Supported
but it may not work on some applications before 4.3.

sqlencrypt

0 or 1

Enables (1) or disables (0) using encryption when connecting to SQL Server (toggles setting in Tools > Options > Data Storage)

Supported
but it may not work on some applications before 4.3.

activationpref

The activation preference flag is used to specify the product type to license. Possible values for the

activationpref are:

  • CALC (QC-CALC Enterprise - QC-CALC SPC & QC-CALC Real-Time)
  • RT (QC-CALC Real-Time only)
  • SPC (QC-CALC SPC only)
  • GS (GageStation - QC-CALC Real-Time & QC-Gage)
  • Mon (QC-CALC Monitor)

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