Ini2Reg.exe is a tool that Progress provides to migrate existing Progress .ini files into the appropriate keys in the Windows Registry. When the
INI File to Registry Translation tool is started:
- The .ini file to migrate and a choice of which Registry Key Location to insert the .ini values into will be presented.
- For each entry in the initialization file, INI2REG creates a Registry key entry with the same value as long as the user running ini2reg has the correct privileges to update the Registry Key Location.
To have the Registry values useable by all the local users of the machine, migrate the values to:
HKEY_LOCAL_MACHINE
Each user has their own Windows Profile allowing them to have customizable Registry settings, without disturbing the normal working of Progress for other users.
Ini2Reg needs to be run for those users who need to have the ability to modify the Progress Registry settings . If special settings for one person are not needed, then while that user is logged in to the machine, Ini2Reg can be run to migrate a specifically tailored .ini file, then insert those values into:
HKEY_CURRENT_USER
To translate an initialization file:
- Open a PROENV command prompt by selecting "Proenv" from the Start -> Programs -> Progress icon group.
- At the command prompt, type "ini2reg" and press <ENTER>.
- From the “INI File to Registry Translation” main window, select the Browse button or File -> Open. The Open dialog box appears.
- Browse for or directly enter the path and .INI file that needs translating, and select OK. The name of the selected file appears in the .INI file to translate field.
- From the "Registry base key" drop-down list, select the Registry hive to create the sub key entries.
- The default sub key that corresponds to the selected initialization file and base key appears in the Registry sub key field which can be modified as needed in the "Registry sub key" field.
- To begin the translation, select the Translate button or File > Translate.
- For each entry in the initialization file, INI2REG creates a Registry key entry with the same value.
- As each entry is translated, it appears in the "Values being translated" display area.
- If a Registry key entry already exists, INI2REG prompts to overwrite or ignore.