IMsmMerge interface (mergemod.h)

The IMsmMerge interface and the IMsmMerge2 interface provide interfaces to the Merge object. The Merge object provides access to other top-level objects. A Merge object must be created before loading the automation support required by COM to access the functions in Mergemod.dll.

Inheritance

The IMsmMerge interface inherits from the IDispatch interface. IMsmMerge also has these types of members:

Methods

The IMsmMerge interface has these methods.

 
IMsmMerge::CloseDatabase

The CloseDatabase method closes the currently open Windows Installer database. For more information, see the CloseDatabase method of the Merge object.
IMsmMerge::CloseLog

The CloseLog function method closes the current log. For more information, see the CloseLog method of the Merge object.
IMsmMerge::CloseModule

The CloseModule method closes the currently open Windows Installer merge module. For more information, see the CloseModule method of the Merge object.
IMsmMerge::Connect

The Connect method connects a module that has been, or will be, merged into the database to an additional feature. For more information, see the Connect method of the Merge object.
IMsmMerge::ExtractCAB

The ExtractCAB method extracts the embedded .cab file from a module and saves it as the specified file.
IMsmMerge::ExtractFiles

The ExtractFiles method extracts the embedded .cab file from a module and then writes those files to the destination directory. For more information, see the ExtractFiles method of the Merge object.
IMsmMerge::get_Dependencies

The get_Dependencies method retrieves the Dependencies property of the Merge object.
IMsmMerge::get_Errors

The get_Errors method retrieves the Errors property of the Merge object. This retrieves the current collection of errors.
IMsmMerge::Log

The Log method writes a text string to the currently open log file. For more information, see the Log method of the Merge object.
IMsmMerge::Merge

The Merge method executes a merge of the current database and current module.
IMsmMerge::OpenDatabase

The OpenDatabase method opens a Windows Installer installation database, located at a specified path, that is to be merged with a module. For more information, see the OpenDatabase method of the Merge object.
IMsmMerge::OpenLog

The OpenLog method opens a log file that receives progress and error messages.
IMsmMerge::OpenModule

The OpenModule method opens a Windows Installer merge module in read-only mode. A module must be opened before it can be merged with an installation database. For more information, see the OpenModule method of the Merge object.

Requirements

Requirement Value
Minimum supported client Mergemod.dll 1.0 or later
Target Platform Windows
Header mergemod.h