The Install_Init function prototype is called before installation begins. This function can be used for custom operations such as checking an application version in a reinstall scenario or checking if a dependent application is present.
codeINSTALL_INIT Install_Init(HWND hwndParent,BOOL fFirstCall, BOOL fPreviouslyInstalled, LPCTSTR pszInstallDir);
Note: Install_Init may be called multiple times, each time with a different string for pszInstallDir; for example, when the current directory does not have enough room. ISVs should do "first time" processing when fFirstCall is TRUE and be aware that subsequent calls to Install_Init may result in different string values for pszInstallDir.
The Install_Init function prototype is part of Setup.dll, an ISV-created file for custom operations dealing with installation and uninstallation of applications.