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]: Cannot open database file - System error[Next]: Merge Fails with Error Message(s)
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->Common Merge Module Issues->Merge Succeeds But Heaps of Validation Errors Produced

Merge Succeeds But Heaps of Validation Errors Produced

Unlike the "merge fails with error message(s)" issue the merge and build actually completes but the validation step produces many messages (generally warnings but may include errors).

The reason for the messages is that merge modules generally seem to be written by idiots (and MS ones are certainly no exception)! Another reason is that Microsoft and others don't follow Microsofts own guidelines (some of which are unreasonable).

You should have a quick look at any messages and if they don't look critical (and testing doesn't show any issues) the you can use the "MsiValFilter" command to filter these out, the following example does this:

<$Feature "FRED">       ;;FRED must of course exist (or validation errors will result)...
   <$MergeModule "Merge Modules\comcat.msm">
   <$MsiValFilter ".857CCBE2_47ED_4181_ABBC_4E2951155D44">  ;;Filter out ALL "comcat.msm" messages based on the Merge Module GUID
   <$MergeModule "Merge Modules\mfc42.msm"    IgnoreErrors="Directory:SystemFolder">
   <$MergeModule "Merge Modules\msvcrt.msm">
   <$MergeModule "Merge Modules\oleaut32.msm" Comment="This module is a requirement for one of the other modules!">
<$/Feature>

As always I recommend you pick your filters carefully so they are unlikely to filter out other unintended messages!


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]: Cannot open database file - System error[Next]: Merge Fails with Error Message(s)


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.