Search code examples
windows-installermerge-module

Merging VC runtime into MSI


I'm building an installer package for an application, and would like to merge the MSM for the VC runtime into it.

Using Orca, this works fine and without conflicts.

Using msimerg, I get an error code 1629 (ERROR_DATATYPE_MISMATCH), but no further information, and no _MergeErrors table is generated.

Is there a way I could find out where the error occurs specifically?


Solution

  • That error just means that there is a schema difference between the two databases. The version of msimerg you're using might have a hard-coded schema requirement that could be old if it's an older version of msimerge.exe.