Using Squish on other computers without installation

Last edited on

Overview

For use in multiple computers or virtual machines (VirtualBox, VMware, etc.) explicit installation of Squish may not be desired.

Here are the steps to use Squish on a computer without running Squish’ <code>SQUISH_DIR/bin/squishconfig</code> :

Step 0 - Prepare Squish package

Unpack and run the setup program of the desired Squish package on one of the target computers. (This is required to “set up” (initialize) the Squish package.)

If you do not want to use the Squish IDE, examples or documentation of the Squish package you can remove the following folder to reduce the size of the Squish package folder:

Step 1 - Make package available on target computers

You can copy the files to the target computers, or copy them to a mounted network drive/share and run squishserver from that on the target computers.

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