The CloseDatabase method of the Merge object closes the currently open Windows Installer database.
Syntax
Merge.CloseDatabase(
bCommit
)
Parameters
bCommit
TRUE if changes should be saved, FALSE otherwise.
Return value
This method does not return a value.
Remarks
Closing a database clears all dependency information but does not affect any errors that have not been retrieved.
C++
See CloseDatabase function.
Requirements
| Requirement | Value |
|---|---|
| Version | Mergemod.dll 1.0 or later |
| Header | Mergemod.h |
| DLL | Mergemod.dll |
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
