Skip to main content

Silent installer Windows

Written by Giuseppe

The silent installation of QL player enables passing command line arguments to fill required parameters for automatic registration of the product.

No message box is displayed, error messages are logged in the installation log file.

Installshield has its own use of command line arguments and exit codes that cannot be overridden, therefore there are some restrictions about how we can use silent mode:

1/ The installer must come with an "Installshield response file" named "setup.iss" and the command line must include a reference to this file : -f1".\setup.iss". You can download this file here

2/ The argument to indicate silent mode can only be : -s (and not --s or --silent).

3/ All custom arguments are preceded by a double dash.

4/ Installshield returns its own exit code (https://docs.revenera.com/installanywhere2021/Content/helplibrary/ia_ts_exit_codes_install.htm) thus Navori custom exit code is return in the last line of the installation log file : ExitCode=0.

Command line arguments :

-s : silent mode.

--accept : acceptance of the license terms.

--l or --license : QL license key.

--pn or --playername : set the player name on QL server.

--se --server : server url.

--log : the path\filename of the installation log file. If only the file's name is provided, the file is created inside the installation folder. The default value is "installation.log".

example of command line:

NavoriQLPlayer_Setup.exe -f1".\setup.iss" --accept -s --license "00000-00000-00000-00000-00000-00000-00000" --server "https://my.server.com" --PlayerName "QL test player" --log "C:\Program Files (x86)\Navori\installation_log_file.log"

Exit codes :

0 : Success

401: Cannot access registry. Please run the tool "as administrator"

402: Unable to connect to server, please check your server URL.

403: This serial number does not exist.

404: This serial number is already in use.

405: Connection to the server database failed.

406: The Insane Performance Rendering add-on is missing.

407: Unable to write ini file.

408: License terms not accepted.

409: Insufficient rights. The current user must be Administrator or Power User.

410: Failed to install .Net framework.

411: Failed to install Navori services.

Did this answer your question?