Providing Custom Actions

A custom action enables specifying that an external file or that an instance of the Installer class must be executed at the specified installation time. A typical example is when you need to include in your installation package the redistributables of a particular runtime or components (for example the MDAC components) used by your application that need to be installed before the application itself. To add a custom action, select the Custom Actions editor from Solution Explorer; then right-click the installation phase that is appropriate for you and select Add Custom Action, as shown in Figure 54.11.

Figure 54.11 Adding a custom action.

At this point you will be asked to specify the executable to be run at the established ...

Get Visual Basic® 2010 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.