IMsmMerge::OpenDatabase Method

Windows Installer

IMsmMerge::OpenDatabase Method

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.

IMsmMerge2::OpenDatabase    Mergemod.dll version 2.0 and later.
IMsmMerge::OpenDatabase      All Mergemod.dll versions.

Syntax

C++HRESULT OpenDatabase(
    const BSTR Path
);

Parameters

Path

Path to the database being opened.

Return Value

The method can return one of the following values.

Value Meaning
E_FAIL

There was an error opening the database.

S_OK

The function succeeded.

 

Requirements

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

See Also

Merge Module Automation

Send comments about this topic to Microsoft

Build date: 8/13/2009

© 2009 Microsoft Corporation. All rights reserved.