Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.


Windows Mobile 6.5
A version of this page is also available for

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.

For more information, see Optional Setup.dll Files for Installation.

codeUNINSTALL_EXIT Uninstall_Exit(
  HWND hwndParent 


[in] Specifies a handle to the parent window.


Indicates that the application was uninstalled successfully.

This function is called during installation before the uninstallation process begins.

OS Versions: Windows CE 2.0 and later

Header: ce_setup.h

Library: None

Windows Embedded CEWindows Embedded CE 6.0 and later

Community Additions

© 2015 Microsoft