MAKEMSI quickly and reliably creates MSI files in a non-programmatic way
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
[Bottom][Contents][Prev]: Merge Module needs Configuration[Next]: Build Steps
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
\->Troubleshooting->Build Time Problems->Common Build Problems and Their Solutions->Missing _Validation Table Entries

Missing _Validation Table Entries

The following is an example of an error message you may see:

Windows Installer has reported that 2 column(s) in a "Property" table record
failed "FIELD" validation:
   * #1 "Property": (MISSINGDATA) This column is not mentioned in the _Validation table.
   * #2 "Value": (MISSINGDATA) This column is not mentioned in the _Validation table.

Contents of the Problem Record (table "Property")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Property (s72) = ABCDEFG
Value     (l0) = C:\

This happens during the execution of the generated VBSCRIPT. The validation that has detected an issue was specified using the "@validate" parameter (or allowed to default) on a "row" command.

I don't believe you will see "MISSINGDATA" messages if there is no "_Validation" table at all, but if it exists it would ideally contain all required entries, one solution is to add the entries to the table, this is the best solution as it maximises the validation of your input.

Another way to correct this problem on your row commands use the "@validate" parameter, if its MAKEMSI generated row commands then set the default for this parameter instead. Don't completely turn off validation, just turn off the "MISSINGDATA" detection.

If you wished to ensure you never overwrote existing records and also wanted to ignore "MISSINGDATA" issues:

...
<$MacroCfg "DEFAULT_ROW_VALIDATE_NO_WHERE" VALUE="NEW -MISSINGDATA">
    <$Row ...>
    <$Row ...>
    <$Property "ABCDEFG" VALUE="C:\">
    ...
<$/MacroCfg>


Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006, 2007, 2008 & 2009 for the Windows SDK (Windows Installer) area.Please email me any feedback, additional information or corrections.
See this page online (look for updates)

[Top][Contents][Prev]: Merge Module needs Configuration[Next]: Build Steps


MAKEMSI© is (C)opyright Dennis Bareis 2003-2008 (All rights reserved).
Saturday May 28 2022 at 3:11pm
Visit MAKEMSI's Home Page
Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006, 2007, 2008 & 2009 for the Windows SDK (Windows Installer) area.