Using Squish on other computers without installation

Last edited on

In situations where installation needs to be automated, running the GUI installer may not be desired. In that case, we recommend running the installer in unattended mode .

The installer allows you to pass command line arguments like ide=0 and testcenter=0 to save space on the target.

Step 1 - Unattended Install

Run installer in unattended mode, in this example without IDE or TestCenter:

./squish-6.6.1-windows unattended=1 ide=0 testcenter=0

Step 2 - Make Squish configuration available on target computers

When running Squish’ setup some configuration is stored in these folders:

On Windows:

On Unix:

These folders must be made available on the target computers, either by copying them to the computers are making them available via a mounted network drive/share.

The path to that folder can be provided by the environment variable SQUISH_USER_SETTINGS_DIR .

Step 3 - Make Squish license key available on target computers

When running Squish’ setup the license key is stored in these files:

On Windows:

On Unix:

These files must be made available on the target computers, either by copying them to the computers are making them available via a mounted network drive/share.

An alternative path can be provided by the environment variable SQUISH_LICENSEKEY_DIR

Step 4 - Start squishserver

Make sure to set the above mentioned environment variables (SQUISH_USER_SETTINGS_DIR, SQUISH_LICENSEKEY_DIR, and, if necessary, SQUISH_LIBQTDIR), and then start squishserver. For example:

SET SQUISH_USER_SETTINGS_DIR=Z:\automation\squish\windows\settings
SET SQUISH_LICENSEKEY_DIR=Z:\automation\squish\windows\settings
SET SQUISH_LIBQTDIR=C:\Program Files\MyAUT\bin
Z:\automation\squish\squish\windows\packages\squish-4.2-qt48x-win32-msvc9\bin\squishserver --verbose --port=4322
start_squishserver.bat