Try OpenEdge Now
skip to main content
Managing ABL Applications
ABL and R-code Deployment and Management : Maintaining User Environments : Maintaining the Windows user environment : Using the INI2REG utility : Using the command line interface
 
Using the command line interface
To access the INI2REG utility and translate an initialization file from the command line, specify the INI2REG command using the following syntax:

Syntax

ini2reg { -a | -ao }[ -i ini-file-name][ -b base-key][ -s subkey][ -d default-subkey]
-a
Automates the translation. That is, it processes the translation automatically without presenting the graphical user interface.
-ao
Automates the translation and automatically overwrites existing Registry entries.
-i ini-file-name
The pathname of the initialization file to translate.
-b base-key
The base key under which the subkey is created. The value of base-key must be one of following:
*HKEY_CURRENT_USER (default).
*HKEY_USERS
*HKEY_LOCAL_MACHINE
*HKEY_CLASSES_ROOT
*HKEY_CURRENT_CONFIG
*HKEY_DYN_DATA
-s subkey
The subkey under which entries are created. The subkey is created under the base key specified in the -b parameter.
Use -d to specify a default subkey for the translation destination.
-d default-subkey
The default subkey under which entries are created. The default subkey is created under the base key specified in the -b parameter.
If the base key is HKEY_LOCAL_MACHINE or HKEY_CURRENT_USER, INI2REG prepends SOFTWARE to the specified default subkey. If the initialization file name is not progress.ini, INI2REG appends the root name of the initialization file to the specified default subkey. If this parameter is not specified, INI2REG uses a default subkey of PSC\PROGRESS\version.
You can generalize this as follows:
base-key\[SOFTWARE]\default-subkey\[rootname]
Use -s to specify a complete subkey for the translation destination.
By default, the INI2REG utility creates Registry key entries for 32-bit OpenEdge at the following location:
HKEY_CURRENT_USER\SOFTWARE\PSC\PROGRESS\version
By default, the INI2REG utility creates Registry key entries for 64-bit OpenEdge at the following location:
HKEY_CURRENT_USER\SOFTWARE\PSC\PROGRESS\x64\version