Setup.dll is an optional file that enables you to perform custom operations during installation and removal of your application. The following table shows the functions that are exported by Setup.dll.
Function |
Description |
Install_Init | Called before installation begins. Use this function to check the application version when reinstalling an application and to determine if a dependent application is present. |
Install_Exit | Called after installation is complete. Use this function to handle errors that occur during application installation. |
Uninstall_Init | Called before the removal process begins. Use this function to close the application, if the application is running. |
Uninstall_Exit | Called after the removal process is complete. Use this function to save database information to a file and delete the database and to tell the user where the user data files are stored and how to reinstall the application. |
Note Use the [CESelfRegister] section in the .inf file to point to Setup.dll.