[This is preliminary documentation and subject to change.]
The MsiSetExternalUI function enables an external user-interface handler. This user interface is then used for all subsequent calls to user-interface-generating installer functions in this process.
INSTALLUI_HANDLER MsiSetExternalUI(
INSTALLUI_HANDLER puiHandler, // UI handler
DWORD dwMessageFilter, // bit flags designating which messages to handle
LPVOID pvContext // application context
);
The return value is the previously set external handler, or 0 if there was no previously set handler.
Windows NT: Requires version 4.0 or later. Available as a redistributable for Windows NT 4.0.
Windows: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Windows CE: Unsupported.
Header: Declared in msi.h.
Import Library: Use msi.lib.
Unicode: Implemented as Unicode and ANSI versions on Windows NT.
Interface and Logging Functions