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 |
---|---|
|
There was an error opening the database. |
|
The function succeeded. |
Requirements
Version | Mergemod.dll 1.0 or later |
---|---|
Header | Mergemod.h |
DLL | Mergemod.dll |
IID | IID_IMsmMerge is defined as 0ADDA82E-2C26-11D2-AD65-00A0C9AF11A6 |
See Also
Send comments about this topic to Microsoft
Build date: 8/13/2009
© 2009 Microsoft Corporation. All rights reserved.