Uninstall_Init (Compact 2013)
4/15/2013
A custom installer dll should export the Uninstall_Init. This function will be called before an application is uninstalled. This function can be used for custom operations such as closing the application if it is running.
Syntax
codeUNINSTALL_INIT Uninstall_Init(
HWND hwndParent,
LPCTSTR pszInstallDir
);
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.
- pszInstallDir
[in] Reference to a null-terminated string that contains the name of the application installation directory.
Return Value
- codeUNINSTALL_INIT_CONTINUE
Continue with uninstalling the application.
- codeUNINSTALL_INIT_CANCEL
Cancel uninstalling the application.
Remarks
This function is called during installation once the installation process has been completed.
Requirements
Header |
ce_setup.h |