Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel
Table of Contents

Introduction

This section explains how to change the folders where CAST AIP applications store data that is required for correct functioning. To do so, you need to modify a file named named CastGlobalSettings.ini located  located in the CAST AIP installation folder (i.e. where the CAST AIP executables such as CAST-MS.exe are stored). This file uses the standard .ini syntax, i.e. lines starting with a semi-colon are comments, and each line should contain a key-value pair, written as follows:

Code Blocknoformat
key=value

There are various keys that can be used to override where CAST AIP stores data:

Info
  • Note that all values below enclosed in % signs are Windows environment variables and those enclosed in $ signs are variables specific to CAST AIP.
  • In addition all All key-value pairings in the CastGlobalSettings.ini file are already commented with a semi-colon. If you modify a value, please ensure that the corresponding semi-colon is removed otherwise the changes you make will not be taken into account.

Microsoft Windows and CAST AIP environment variables

All "key-value" pairings in the CastGlobalSettings.ini file use a mixture of Microsoft Windows environment variables and CAST AIP specific environment variables:

Microsoft Windows environment variables

Variables enclosed using the % character are Windows environment variables. An explanation of these variables can be viewed here (third-party website).

CAST AIP environment variables

Variables enclosed using the $ character are variables specific to CAST AIP and are used to define the name of folders on disk:

VariableExplanation

$CAST_MAJOR_VERSION$

This option will match the current major release version number. In other words, i.e.: "8" in the release number "8.2.1".

$CAST_MINOR_VERSION$

This option will match the current minor release version number. In other words, i.e.: "2" in the release number "8.2.1".

$CAST_REVISION_VERSION$

This option will match the current Service Pack release version number. In other words, i.e.: "1" in the release number "8.2.1".

Info
Note that this variable is not used by default in the CastGlobalSettings.ini file, but can be added if required.

CAST_ALL_USERS_PATH

Default value:

...