Install_Exit
The Install_Exit function prototype is called after installation completes. This function can be used for custom operations such as handling errors that occurred during installation or launching the application.
Syntax
codeINSTALL_EXIT Install_Exit (HWND hwndParent, LPCTSTR pszInstallDir, WORD cFailedDirs, WORD cFailedFiles, WORD cFailedRegKeys, WORD cFailedRegVals, WORD cFailedShortcuts);
Parameters
- hwndParent
- Handle to the parent window.
- pszInstallDir
- Final install directory.
- cFailedDirs
- Count of the directories that failed to be created.
- cFailedFiles
- Count of files that failed to be created.
- cFailedRegKeys
- Count of the registry keys that failed to be created.
- cFailedRegVals
- Count of the registry values that failed to be created.
- cFailedShortcuts
- Count of the shortcuts that failed to be created.
Return Values
- codeINSTALL_EXIT_DONE //exit, installation successful
- codeINSTALL_EXIT_UNINSTALL //uninstall application before exiting
Remarks
The Install_Exit function prototype is part of Setup.dll, an ISV-created file for custom operations dealing with installation and uninstallation of applications.