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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access