BLD:E0051

Expression "%s" is not a valid registry path

The indicated expression is not a valid registry path and cannot be stored in the installer database. As a result, the database cannot be built.

Parameters

%s
Invalid registry path

Background

Acceptable registry paths have the format \HKEY_SOMETHING\keyname\keyname\keyname...

Solution

You should check the registry keys leading up to the offending registry key or value and make sure that they conform to the required format. In particular, the topmost registry key name should be one of the well-known HKEY_xxx hive names; at lower levels, each registry key name should conform to the registry key syntax. Symbolic variables are allowed as part of the lower level key names.