The following
Database Functions must never be called from a custom action.
The following
Installer Functions must never be called from a custom action.
The following
Installer Functions must never be called from a custom action if doing so starts another installation. They may be called from a custom action that does not start another installation.
A custom action should never spawn a new thread that uses Windows Installer functions to change the feature state, component state, or to send messages from a Control Event. Attempting to do this causes the installation to fail.
Send comments about this topic to Microsoft
Build date: 11/12/2009