Share via


Install_Exit

The Install_Exit function is called after an application is installed. This function can be used for custom operations such as handling errors that occurred during installation or launching of the application.

Syntax

codeINSTALL_EXIT Install_Exit(
  HWND hwndParent,
  LPCTSTR pszInstallDir,
  WORD cFailedDirs,
  WORD cFailedFiles,
  WORD cFailedRegKeys,
  WORD cFailedRegVals,
  WORD cFailedShortcuts
);

Parameters

  • hwndParent
    [in] Specifies a handle to the parent window.
  • pszInstallDir
    [in] Reference to a null-terminated string that contains the name of the final installation directory.
  • cFailedDirs
    [in] Specifies the number of directories that failed to be created.
  • cFailedFiles
    [in] Specifies the number of files that failed to be created.
  • cFailedRegKeys
    [in] Specifies the number of registry keys that failed to be created.
  • cFailedRegVals
    [in] Specifies the number of registry values that failed to be created.
  • cFailedShortcuts
    [in] Specifies the number of shortcuts that failed to be created.

Return Values

  • codeINSTALL_EXIT_DONE
    The application installation is exited successfully.
  • codeINSTALL_EXIT_UNINSTALL
    The application is uninstalled before exiting the installation.

Remarks

Windows CE Wceload.exe calls this function, which is part of the application setup and uninstall program, Setup.dll. For information about Wceload.exe, see the command-line tools documentation under "Platform Builder" in the MSDN library.

Requirements

Smartphone: Smartphone 2002 and later

OS Versions: Windows CE 3.0 and later
Header: ce_setup.h
Library: None

See Also

codeINSTALL_EXIT

File and Application Management API Functions

Install_Init

Last updated on Friday, April 22, 2005

© 2005 Microsoft Corporation. All rights reserved.

Send feedback on this topic to the authors.