Package authors can monitor internal Windows Installer messages through the creation of an executable application that contains both a callback handler to receive the messages and functionality to initiate an installation.
The callback handler conforms to the INSTALLUI_HANDLER prototype, and a pointer to this callback handler is passed to MsiSetExternalUI. Once the installation has been initiated by a call to MsiInstallProduct, installation messages are trapped by the callback handler and the package author can selectively display or ignore any or all of these messages.
For more information, see Handling Progress Messages Using MsiSetExternalUI, Returning Values from an External User Interface Handler, and Parsing Windows Installer Messages.
For more information about using a record-based external handler, see Monitoring an Installation Using MsiSetExternalUIRecord.
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.
