Export (0) Print
Expand All

Windows Installer Callback Functions for Desktop Engine

SQL Server 2000

The Microsoft® SQL Server™ 2000 Desktop Engine (MSDE 2000) Windows® Installer supports callback functions that an application setup program can use to tailor its response to errors returned by the Desktop Engine Windows Installer.

You can code a Desktop Engine callback function as a function in a Microsoft Visual C++® DLL. The callback function is coded the same as a Windows Installer Custom Action Type 1 callback function, except that the Desktop Engine callback function must take an additional UINT parameter that will contain the Desktop Engine exit code, or return code:

UINT __stdcall MyCallbackFunction(MSIHANDLE hinstall, UINT uExitCode)

For more information on coding Windows Installer Custom Action Type 1 DLLs, see the Microsoft Developer Network (MSDN®) Library at this Microsoft Web site. For a list of the return codes specific to the Desktop Engine, see Windows Installer Return Codes for Desktop Engine.

Use the Desktop Engine Windows Installer CALLBACK option to invoke the callback function during setup:


Specifies the name of the DLL containing the Desktop Engine Windows Installer callback function, and the name of the callback function.

© 2014 Microsoft