The installation files include a file named qmfwin4.reg. This is a file containing Windows registry settings that affect the operation of QMF for Windows itself, after installation. During installation, this file is copied to the machine, and its contents are loaded into the current user's registry.
You can customize the contents of this file to pre-set virtually any QMF for Windows option. A very reason for customizing this file is to pre-set the server definition file to be used by the application after installation. For example, in order to specify that a server definition file named \\server1\share\qmfsdf.ini should be used, you would edit qmfwin4.reg to include these lines:
[HKEY_CURRENT_USER\Software\IBM\RDBI\Options] "ServerDefinitionsFile"="\\\\server1\\share\\qmfsdf.ini"
Note that back slashes in the value you specify must be doubled, as shown. This is not true of forward slashes. For example, in order to specify that the server definition file should be obtained from a URL such as http://webserver/qmfsdf.ini, you would include these lines:
[HKEY_CURRENT_USER\Software\IBM\RDBI\Options] "ServerDefinitionsFile"="http://webserver/qmfsdf.ini"
Note that the forward slashes in the URL are not doubled.
Registry settings are loaded in the context of the user running the installation program. This means that the user must have the privileges required to update whatever registry settings are specified. If not, the updates will fail. In addition, this means that any references to HKEY_CURRENT_USER will be resolved to that user's registry hive.
After you have finished editing the qmfwin4.reg file, save the modified file in its original location in the installation files. Now, when running setup.exe from these files, the custom options you specified in qmfwin4.reg will be loaded into the registry.