PRB: Installation Error: API 'Create Reg Key Value' Failed

ID: Q95671

2.50 2.50a WINDOWS

 kbprb

The information in this article applies to:

SYMPTOMS

When you are installing FoxPro for Windows, the installation program will check to see if Microsoft Graph is installed on the system. If it is not, the installation program will install and attempt to register it in the REG.DAT file in the Windows program directory. During this process, the following error message may appear:

   API 'Create Reg Key Value' Failed

CAUSE

There may be two REG.DAT files on the hard disk or the REG.DAT file may be corrupted.

RESOLUTION

To correct this problem, make sure you have only one REG.DAT file. If you have only one REG.DAT file and the problem still occurs, you must create a new REG.DAT file. To do so:

1. Quit Windows.

2. If the REG.DAT file exists in the Windows program directory, rename it

   "REG.OLD" (without the quotation marks).

3. Restart Windows. In the Program Manager, choose Run from the File menu,
   and type "REGEDIT" (without the quotation marks) in the Command Line
   box.

4. When the REGEDIT program comes up, choose Merge Registration File from
   the File menu.

5. In the File Name box, select SETUP.REG from the Windows SYSTEM
   subdirectory. This creates a new REG.DAT file in the Windows directory.

6. Install FoxPro.

7. Reinstall the other entries that may have been lost from the old REG.DAT

   file. This process is described in the Help file for the REGEDIT
   program.

STATUS

This behavior is by design.

Additional reference words: FoxWin 2.50 API ERROR regkeyvalue regkey value registry information editor database errmsg err msg setup createregkeyvalue KBCategory: kbprb KBSubcategory: FxsetupError

Keywords          : kberrmsg kbsetup FxsetupError 
Version           : 2.50 2.50a
Platform          : WINDOWS

Last Reviewed: May 22, 1998