|2228 - Database: . Unknown table '' in SQL query: |
This cryptic error code will be displayed by an install if a "required" table is missing (and possibly also if empty). It typically more of an "informational" message, but if its near the point of failure perhaps it is really a problem.
MAKEMSI tries to not create empty tables unless absolutely required making it much easier to examine the MSI, however sometimes the creation of one table may cause extra windows installer code to be invoked requiring a completely different table to be created (I have seen merge modules do this).
A message (with the format "Database: . Unknown table '' in SQL query: ") will be logged in any verbose log. Above this message you should find the missing table mentioned as well as the failing SQL statement (use the "TableCreate" command to create this table).
Missing tables can also cause 2205 and 2262 messages.
|Example of Creating Tables Safely|
<$TableCreate "Class" ExistingOK="Y" DropExisting="N"> <$TableCreate "TypeLib" ExistingOK="Y" DropExisting="N">
The "ExistingOK" and "DropExisting" parameters were added for safety, we are doing this step because the tables don't exist however you may some time in the future add code which may create it and you would not want to lose its contents.