I have my license file in the CA_LIC directory in \Program Files\CA\SharedComponents. I installed the ADT product and it creates a C:\CA_LIC directory and installed licensing software there. How can I keep licensing in one location?

Document ID : KB000055912
Last Modified Date : 14/02/2018
Show Technical Document Details

The older versions of CA Licensing (v.27 to v1.51) install into the C:\CA_LIC directory automatically and write to the InstallPath value in the License registry. In order to comply with newer CA installation standards, the latest CA Licensing packages (v1.52 and later) install into C:\Program Files\CA\SharedComponents\CA_LIC by default and set InstallPathNew appropriately.

When upgrading from an older version to a newer version, there is no problem because licensing will continue to install into C:\CA_LIC. However, when a newer version is installed on a system first, then another older product lays down an older version of licensing, the older version will continue to install to C:\CA_LIC and reset the InstallPath value even though the newer version is already installed underneath the Program Files folder. The older version does not know any better. In this scenario, because of the downgrade, there will be two CA_LIC directories on the system.

The duplication is corrected by running the mergecalic utility (detailed below) provided with v1.53+ and later of CA Licensing. The consequences of the problem are not far reaching - it results in licensing being managed in two separate places. No products will break because of this issue. The most significant problem here is that a product may not find its license if the ca.olf file is not placed in both directories.


When executed, it will check for the existence of two CA_LIC directories. If two do exist it will copy the contents of the old CA_LIC directory into a folder named CA_LIC_OLD beneath the new CA_LIC directory. Then the old CA_LIC directory is removed. If ca.olf files existed in both CA_LIC directories, mergeolf will be invoked to merge the contents into the ca.olf in the newer directory.

On Windows, mergecalic must also update the InstallPath registry key to equal the InstallPathNew registry value. This way, all products referencing InstallPath will be pointed to the new Installation path of licensing (generally, C:\Program Files\CA\SharedComponents\CA_LIC).

To run mergcalic.exe simply navigate to the
\Program Files\CA\SharedComponents\CA_LIC directory in a Windows explorer and double click on the mergecalic.exe program to execute it.

NOTE: If you do not have the mergcalic.exe in the
\Program Files\CA\SharedComponents\CA_LIC directory please contact CA Technical Support for the Advantage Data Transformer product.