Monitoring an Installation Using MsiSetExternalUI
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.
Build date: 11/30/2012