Uninstall_Init

The Uninstall_Init function prototype is called before the uninstallation begins. 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
Handle to the parent window.
pszInstallDir
Install directory of the application.

Return Values

Remarks

The Uninstall_Init function prototype is part of Setup.dll, an ISV-created file for custom operations dealing with installation and uninstallation of applications.