Running the installer from a script¶
The Squish Coco installer for Windows supports the following command line options:
- runs the installer in silent mode.
- runs the installer in silent mode and suppresses all popup dialogs.
- specifies the installation directory.
For example, to install Squish Coco from a script, do:
To install Squish Coco from a script in the directory
c:\Program Files\squishcoco, do:
Installation of a licence from the command line¶
Once Squish Coco installed, it is possible to activate a license from the command line with cocolic.
For example, to check whether valid node-locked license exists and
fetch it if needed, one can use the following command (where
KEY stands for the license key):
Or to activate a license server:
Installation of Toolchain support with the Build Environment Selector¶
The Build Environment Selector is a graphical tool to generate the support for Cygwin, MinGW, and for some embedded toolchains. It can also be used in a batch file to script an installation.
For example, to install Cygwin support, the following command can be used:
The program then generates wrapper and configuration files for the
Cygwin compilation programs. To uninstall them, the flag
must be replaced with
The name of the toolchain (here
"CygWin - www.cygwin.com") is the
toolchain name listed when starting the Build Environment Selector
%SQUISHCOCO%\toolselector.exe) without any arguments.