TIXMSG_TERMINATE

Indicates the end of an InstallMate session. Clients should use this opportunity to perform global cleanup actions and, if necessary, release the additional state that is maintained in pMessage->lCookie. pMessage->dwSessionType indicates the type of session that is about to end. Error result codes should be used very sparingly, if at all, because they might turn a successfully completed installation process into a failure at the last moment.

Action scheduling

This message is sent after the UI is destroyed, immediately before the extension DLL is unloaded. Therefore, your handler should not rely on the availability of a main window and in fact should not display any message boxes, dialogs, or windows at all.

This message is also sent during preflight checks when InstallMate builds the installer.

Parameters

pExtra
Not used

Result code

If this message is handled, pMessage->lResult must be set to one of the following result codes: