The profile_overrides.xml file provides the file paths of
administrative profiles and determines the software versions that are used.
This file must be stored on local computers on a specific application related
folder, such as:
%programdata%\<company_name>\<application_name>\profile_overrides.xml
The .xml file uses a specific syntax as shown in the
following example:
Sample profile_overrides.xml file
<?xml version="1.0"?>
<profileoverrides>
<version build="*">
<setting type="QString" value="U:\Common\CAD\Shared\profile_1.xml"
/>
<setting type="QString" value="U:\Common\CAD\Shared\profile_2.xml"
/>
</version>
<version build="12.0.003">
<setting type="QString" value="U:\Common\CAD\Shared\profile_3.xml"
/>
</version>
</profileoverrides>
In the build parameter, the
version tag specifies the version for which the settings
of subsequent profile files are applied. An asterisk (*)
specifies that subsequent profiles are applied for all installed versions of the
program.
In the value parameter, the
settings tags specify the
profile.xml files to load when the program starts. The
files are usually located on a network drive and folder.
You should preserve the order of the specifications for overriding values. In
the example above, the individual user profile is overridden by
profile_1 and then by profile_2.