IMsmMerge Interface

Windows Installer

IMsmMerge Interface

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.

Methods

The IMsmMerge interface inherits the methods of the IDispatch interface.

In addition, IMsmMerge defines the following methods.

Method Description

OpenDatabase

Opens a database to use as the merge target.

OpenModule

Opens a merge module for use as the merge source.

CloseDatabase method

Closes the current database.

CloseModule

Closes the current module

OpenLog

Opens a log file.

CloseLog

Closes the current log file.

Log

Logs a string to the current log file.

Merge

Merges the current module into the current database.

Connect

Connects the components in a module to the specified feature.

ExtractCAB

Extracts the embedded CAB of a Merge Module to a disk file.

ExtractFiles

Creates a source image of the Merge Module beneath the specified path.

 

Properties

The IMsmMerge interface defines the following properties.

Property Access type Description

Dependencies

Read-only

Returns a collection of all unsatisfied dependencies in the database.

Errors

Read-only

Returns a collection of all errors from the most recent merge operation.

 

Requirements

VersionMergemod.dll 1.0 or later
HeaderMergemod.h
DLLMergemod.dll
IIDIID_IMsmMerge is defined as 0ADDA82E-2C26-11D2-AD65-00A0C9AF11A6

Send comments about this topic to Microsoft

Build date: 8/13/2009

© 2009 Microsoft Corporation. All rights reserved.