Uninstall_Exit (Compact 2013)

4/15/2013

A custom installer dll should export the Uninstall_Exit function. This function will be called after an application is uninstalled. This function can be used for custom operations such as the following:

  • Saving database data into a file and deleting the database.
  • Informing the user where the user data files are stored.
  • Informing the user how to reinstall the application.

Syntax

codeUNINSTALL_EXIT Uninstall_Exit(
  HWND hwndParent 
);

Parameters

  • hwndParent
    [in] Specifies a handle to the parent window If the uninstallation is launched from a client that does not have a parent window, the handle will be NULL. If the handle is NULL, do not display any UI.

Return Value

  • codeUNINSTALL_EXIT_DONE
    Indicates that the application was uninstalled successfully.

Remarks

This function is called during installation, after the uninstallation process is completed.

See Also

Reference

CAB Wizard
codeUNINSTALL_EXIT
Uninstall_Init