To silently install the application, download the latest available version of the installation file from the MyQ Community portal, open the Windows command line, and use the following command:
msiexec /i *InstallationFile* /log "install_mdc.log" /qn <*Parameters*>
*InstallationFile* is the name of the installation file (for example MyQ Desktop Client-10.0.1.1.msi).
The /log command is highly recommended, as it creates a log of the installation process.
*Parameters* is a string consisting of the following parameters (if you do not include a parameter in the command, its default value is used for the installation):
SERVERSOURCE (NEW): Use 0 to connect to a standalone server, 1 to get the server address via the Central server API, and 2 to get the server address from a CSV file.
SERVERADDRESS: MyQ Server's IP address or hostname (the default value is an empty string).
SERVERPORT: MyQ Server's port. The default value is 8080 for MyQ versions lower than 8.0. For MyQ version 8.0 and higher, the default value is 8090.
ALLOWUNSECURECOMMUNICATION: Use 1 to disable the certificate validation and 0 to enable the certificate validation (the default value is 1).
CSVSERVERTABLEINFO: The path to the CSV file that contains information about the server to be used.
LOGINTYPE: A letter code with a combination of the these three letters: "p" for PIN, "u" for Username and password and "c" for ID Card. (The default value is an empty string as the default authentication type is the user list selection).
LOGINTYPE="p" Enables only PIN
LOGINTYPE="u" Enables only Username and password
LOGINTYPE="c" Enables only Card
LOGINTYPE="cp" enables Card or PIN login
LOGINTYPE="puc" enables all three login types
AUTHENTICATIONTYPE: The methods of authentication of the job sender. Select one of the following (the default value is 0):
AUTHENTICATIONTYPE=0: With this option selected, the job sender has to select one of the MyQ user accounts from the list of all MyQ users. The job sender is then identified as the selected MyQ user.
AUTHENTICATIONTYPE=1: With this option selected, the job sending user has to log in under their MyQ credentials. The job sender is then identified as the logged in MyQ user.
AUTHENTICATIONTYPE=2: With this option selected, the job sender is identified as the OS user account where the job is sent from.
REMEMBERME: If you set this parameter to 0, it will hide the Remember me option during the user login. If you set it to 1, the Remember me option will be visible. (The default value is 0 as the default authentication type is the user list selection).
CONNECTTOSERVERAFTERSTART (NEW): Caching of the user information used when the client is offline. Use 0 to cache the user info only when the user interacts with the app (default option), and use 1 to cache the user information with every logon to the operating system.
REINSTALL=ALL: Use this parameter in case you need to update some parameters after maintenance.
CLIENTSPOOLING: MyQ Desktop Client only supports Secure Printing or Client Spooling. Set this parameter to 0 to enable Secure Printing (default), or set it to 1 to enable Client Spooling.
SECUREPRINTING (NEW): If enabled, all print jobs received by the client are automatically forwarded to the server over a secure LPR protocol. Set it to 0 to disable it, and set it to 1 to enable it (Client Spooling should be disabled).
CSJOBPARSERENABLED: Configure if the job will be parsed (using MAKO) before it will be sent to the server. 0 = Disabled, 1 = Enabled (the default value is 1 - Mako parser is enabled).
APPENDDOMAIN: 0 = Disabled, 1 = Enabled (the default value is 0). When this option is enabled, the jobs sent to the MyQ server are spooled as follows: username@computerdomain (firstname.lastname@example.org instead of eliot.kate). Use it only if you need the information about the computer's domain included in the job sender's name.
LPMENABLED: Local Print Monitoring; 0 = Disabled, 1 = Enabled (the default value is 0).
LPMPORTS: Enter a comma-separated (,) list of the names of the ports that you want to monitor. You can use a substring to monitor all local ports whose names contain the string, such as USB for the ports USB1, USB2 etc. If you leave this setting empty, all local ports are monitored.
IDLECLIENTTIMECHECKER: Time (in minutes) to log out once the client application gets to the idle state. The default is 5 minutes.
ENABLEDELETEPENDINGJOBS: Configure if pending jobs should be deleted when the client application gets to the idle state. Use 0 for disabled and 1 for enabled (the default value is 0).
OFFLINEMODE: Define MDC’s behavior for LPM when the server is offline. 0 = Always print the job (default). 1 = Do not print the job if the user has restricted policies, quota or credit. 2 = Do not print the job in offline mode.
FBOFFLINEMODE (NEW): Define MDC’s behavior for releasing jobs to a fallback printer while the server is offline. 0 = Always print the job (default). 1 = Do not print the job if the user has restricted policies, quota or credit.
JOBEXPIRATION: The spooled job is stored only for the duration of this period. The period is set in days (the default value is 7). When LPM is enabled, SPL files are also deleted.
MAXJOBFOLDERSIZE: This is the limit (in MB) of the local storage for the Client Spooling feature. After the maximum size of job folder is reached, jobs will be deleted starting from the oldest one, until the size of all stored jobs is below the limit (the default value is 1000).
HEARTBEAT: Sets how many seconds MyQ Desktop Client will wait until it informs MyQ that the job has been printed. This only affects the Client Spooling configuration. The default value is 60 seconds.
FBJOBACCOUNTING: Enable accounting of print jobs sent to the fallback printer. When FBJOBACCOUNTING=0 (default), the job will be accounted and reported to the server by the printer (EMB Terminal required). When FBJOBACCOUNTING=1, the job will be accounted and reported to the server by the client.
FALLBACKPRINTING: Fallback printing; 0 = Disabled, 1 = Enabled (the default value is 0).
FALLBACKPRINTERADDRESS: Enter the IP address of the backup printing device that you want to use for the fallback printing (the default value is an empty string).
LASTNPRINTERUSED: Number of printers listed in the fallback printer selection list; the recommended number to set is 5, the maximum recommended number is 20.
ALTERFALLBACKPRINT: Enables pop-up windows for alternative printers. 1 = Enabled.
FALLBACKPRINTERPORT: Set the port number according to the selected printing protocol (the default value is 9100).
If you want to use the Client Spooling feature on the printing devices, select one of the following options:
10010: Client spooling port for direct print. The job is automatically printed after it is received by the printing device.
10011: Client spooling port for secured hold print. The job is spooled by the printing device and waits there until the user logs in and releases it. It is not possible to release this job on any other printing device.
10012: Client spooling port for pull-print. The job is spooled by the printing device. Once the user logs on any of the devices connected to the same subnet, information about this job is provided and the job is displayed in the list of the available jobs and can be released there.
10013: Client spooling port for delegated print. It works the same as Client spooling pull-print, except that the job can be released by delegates of the sending user.
FALLBACKPRINTERPROTOCOL: Select one of the following printer protocols (the default value is “RAW”).
“RAW” (default port: 9100): Basic printing protocol; no extra information is required.
“IPP” (default port: 631): Internet Printing Protocol, no port is used (or needed); all the information is inside the printer address.
“IPPS” (default port: 443): Secure version of the IPP.
“LPR” (default port: 515): Line Printer Remote protocol; it requires setting the queue's name where the jobs will be sent to.
FALLBACKPRINTERQUEUE: Enter the name of the Queue where jobs will be sent if the LPR protocol is used (the default value is an empty string).
Below, you can see an example of the silent installation command:
msiexec /i "MyQ Desktop Client-10.0.1.1.msi" /log "install_mdc.log" /qn SERVERADDRESS="localhost"
SERVERPORT=8090 ALLOWUNSECURECOMMUNICATION=1 AUTHENTICATIONTYPE=1 IDLECLIENTTIMECHECKER=300 ENABLEDELETEPENDINGJOBS=0 LOGINTYPE="puc" CSVSERVERTABLEINFO="C:\MyFiles\networkInformation.csv" CLIENTSPOOLING=0 LPMENABLED=1 LPMPORTS="USB" APPENDDOMAIN =0 FALLBACKPRINTING=1 FALLBACKPRINTERADDRESS="fallbackprinteripaddress" FALLBACKPRINTERPORT=9100 FALLBACKPRINTERPROTOCOL="RAW" OFFLINEMODE=1
From the MDC WIN 8.2 Patch 15 version, the following parameters should not be used: