The TICS setup program for the TICS client installation can be
customized and made silent by specifying a special
<setupname>.ini
file. When a
<setupname>.ini
file is available that
satisfies the conditions below,
the setup executable will read this file at startup of the installation
process. All options that are set in the .ini
file are used
to skip steps of the installation process that would otherwise be
interactive. Furthermore, other options can be set in the
.ini
files to change specific behavior. See the properties
below for more details.
<setupname>.ini
file<setupname>
must have the following
format: ticssetup-client-
<version> where
<version> must be a proper TiCS version number, e.g.,
r2023.3.0.12345
. The .ini
file must has the same name as
the setup executable name with the .exe
extension replaced
by .ini
..ini
file is located in the same directory
as the setup executable.
When a .ini
is present in the same directory as the TiCS setup
program the .ini
can be ignored by running the TiCS setup program
with the /noini
command line option.
Each setup can be run completely in silent mode, i.e. no dialog is shown
at all by running the setup with the command line option
/S
. An .ini
file is mandatory in silent mode. It
must specify the values that are needed to install.
.ini
file:
[General]
TICSINSTALLDIR=<path>
TICS=<URL>
TICSPROJECT=<projectname>
TICSHOSTNAMEVERIFICATION=[0|1]
TICSTRUSTSTRATEGY=[strict|self-signed|all]
[General]
TICSINSTALLDIR=%APPDATA%\TICS\Wrapper
TICS=http://www.company.com:42506/tiobeweb/TICS/api/cfg?name=default
The TICS client installer installs TICS plugins for all tools that have been detected automatically on the target system. For tools for which it is not possible to know whether they have been installed (e.g. because their installation is not administered in the registry), a facility is offered to enforce the installation of these TICS plugins in the .ini file:
[Components]
IDEECLIPSE=[0|1]
IDEINTELLIJ=[0|1]
[Components]
IDEECLIPSE=1
IDEINTELLIJ=0
Since Eclipse installation information is not stored in the registry, TICS must explicitly ask for it. If the Eclipse installation location is known beforehand, it can be specified with the InstallPath variable in the Eclipse section:
InstallPath=path
[Eclipse]
InstallPath=C:\Program Files\Eclipse
Since IntelliJ installation information is not stored in the registry, TICS must explicitly ask for it. If the IntelliJ installation location is known beforehand, it can be specified with the InstallPath variable in the IntelliJ section:
InstallPath=path
[IntelliJ]
InstallPath=C:\Program Files\JetBrains\IntelliJ
To install the TICS Tornado plugin the installer needs to know where the Tornado IDE is located on the file system. Unfortunatelly, it is not possible to do this automatically. If the Tornado IDE is installed in the same location for all users, it is possible to preconfigure the location of the Tornado IDE in the .ini file. This can be done for Tornado 2.0 and Tornado 2.2 IDE installations.
[Tornado2.0]
wind_base=path
[Tornado2.2]
wind_base=path
[Tornado2.2]
wind_base=C:\Program Files\tornado2.2
To do a silent installation of Visual Studio Code Plugin the .ini file is used. Although the install location of
Visual Studio Code is set in registry, this differs for the different types of Visual Studio Code and not used
here. To use the silent install feature, set the InstallPath variable in the VSCode section of the .ini file.
Remember to set IDEVSCODE=1
in the Components section to enable the silent install.
InstallPath=path
[VSCode]
InstallPath=C:\Program Files\Microsoft VS Code