Export (0) Print
Expand All

Uninstall_Init (Compact 7)

3/12/2014

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.


codeUNINSTALL_INIT Uninstall_Init(
  HWND hwndParent,
  LPCTSTR pszInstallDir
);

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.

codeUNINSTALL_INIT_CONTINUE

Continue with uninstalling the application.

codeUNINSTALL_INIT_CANCEL

Cancel uninstalling the application.

This function is called during installation once the installation process has been completed.

Header

ce_setup.h

Show:
© 2014 Microsoft