The Uninstall_Exit function prototype is called after the uninstallation completes. This function can be used for custom operations such as saving database data into a file and deleting the database, informing the user on where the user data files are stored, or informing the user on how to reinstall the application.
codeUNINSTALL_EXIT Uninstall_Exit(HWND hwndParent);
codeUNINSTALL_EXIT_DONE // a successful uninstallation
The Uninstall_Exit function prototype is part of Setup.dll, an ISV-created file for custom operations dealing with installation and uninstallation of applications.