In the same folder as the executable there can be the MasterConfig.ini file with the following format:

[General]
UseRegistry=
ConfigFilesDir=
TempDir=

UseRegistry

empty: use registry if application installed, otherwise ini file (read also this)
1: force registry use
0: force ini file use

ConfigFilesDir

empty: configuration/log files are under "%APPDATA%\Contaware\FreeVimager" and application's ini file in executable's folder
path: configuration/log files and application's ini file are all in given folder (double quotes not necessary around the path)

TempDir

empty: store temporary files in system default location
path: store temporary files under given folder (double quotes not necessary around the path)

Note: if the MasterConfig.ini is missing then the empty entries apply.