Merge – Merge Module Contents to an MSI


April 5, 2009

There is always a need for a merging tool when we want to add the components in a merge module to our Installation Package(MSI). All the major packaging tools offer this functionality. There’s also an utility called MsiMerg.exe that ships as part of the Windows Installer SDK. 

The syntax for using this utility - msimerg.exe {base db} {ref db}

It turns out that the base database is the Installer package that we’re merging to, and the reference database is the merge module that we want to add to the package. 

Eg: msimerg ABC10EN.msi comcat.msm 

This will add the information from the comcat merge module to the ABC10EN Installer package. If there are any errors during the merge, it will create a table named _MergeErrors for our further inspection.







If you’re not a subscriber, you can have msigeek blog notifications delivered to you free via these options: RSS Updates , Email Updates and SMS Alerts.

  • AnandK

    Nice blog :) Best wishes.

  • AnandK

    Nice blog :) Best wishes.

  • Rodolfo Barbosa

    Wow nice blog buddy… This tip of merging is very useful… Nice wishes

  • Rodolfo Barbosa

    Wow nice blog buddy… This tip of merging is very useful… Nice wishes

  • http://www.msigeek.com/redistributing-application-components-using-merge-modules/ Redistributing Application Components using Merge Modules

    [...] can use this method to merge modules or obtain a merge tool from an independent software vendor like Wise, [...]

blog comments powered by Disqus

Previous post:

Next post: