Installer

The Squish installer supports a range of command line options to permit unattended installations.

Note: The actual name of the installer depends on the particular Squish package being installed. In this section, the generic placeholder name <squishinstaller> is used.

Usage

<squishinstaller> unattended=1 targetdir=<PATH> licensekey=<KEY> ide=1 testcenter=1 jrepath=<PATH> support-applets=1 qtpath=<PATH> startmenupath=<PATH> menushortcut=1 desktopshortcut=1 python=<VERSION>

Options

OptionDescription
unattended=1Causes any values required during the installation (such as the target directory name) to be read from the command line.
targetdir=<PATH>Optional, defines to which directory the Squish package is installed. If the directory exists already, it will be overwritten. If this argument is omitted, the Squish installer will select a default target directory in the home directory (for Windows and Linux) resp. the /Applications directory (for macOS) based on the name of the package being installed.
licensekey=<KEY|host:port>Required if no key installed already. Specifies the license key, or a floating license server to use for the installation. If this setting is omitted, a previously installed license key, or the previous floating license server will be used if available.

The format of the address for floating license server is: hostname:port or IP_address:port. For example: licensekey=example.license-server.com:9999 or licensekey=196.182.0.1:9999

ide=1Specifies whether the Squish IDE component will be installed (1) or not (0). Installed by default when the argument is not specified.
testcenter=1Specifies whether the Squish Test Center component will be installed (1) or not (0). Installed by default when the argument is not specified.
jrepath=<PATH>Optional, relevant for testing Java applications. Specifies the path to the JRE used by the application to be tested. If this argument is omitted, the Squish installer will try to auto-detect a JRE installation.
support-applets=1Optional, relevant for testing Web applications. Specifies whether the support for automating Java applets in Web pages will be disabled.
qtpath=<PATH>Required on macOS. Specifies the path to the Qt library used by the application to be tested. This value is ignored on other operating systems.
startmenupath=<PATH>Only supported on Microsoft Windows. Defines the place where start menu shortcuts are to be created. Implicitely sets menushortcut=1.
menushortcut=1Causes the installer to create shortcuts (e.g. to the Squish IDE) in the application menu, i.e., the start menu on Microsoft Windows. On Windows, the Squish installer will create shortcuts in Squish for edition version (e.g. Squish for Qt 6.0.1) unless startmenupath defines a different path.
desktopshortcut=1Only supported on Microsoft Windows. Causes the installer to place a shortcut to the Squish IDE on the desktop.
python=<VERSION>Specifies which Python version to use when executing Squish tests written in Python. If a Squish package does not support the specified Python version the option is not available. If omitted during the installation, the default Python version will be used.

© 2023 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners.
The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.
Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.