Adding custom extensions

In addition to adding the custom routines, dialog boxes, and programs in their respective folders, you must also add the file containing the custom extension to the Support Files folder. However, if you have more than one routine, dialog box, or program in a file, you need only add that file to the Support Files folder once.

About this task

The following table lists the properties of custom routines, dialog boxes, and programs you specify when you add them to your installation project.
Table 1. Properties of custom routines, dialog boxes, and programs
Property Description
Name The file name of the routine, dialog box, or program. Type the name or click Browse to select the file in the Open dialog box.
ID or command-line arguments For a custom routine, the ID string is an identifier you can use to determine which routine to call if you have more than one routine in a single DLL.

For a custom dialog box, the resource ID that you specified when creating it in Microsoft™ Developer Studio.

For a custom program, the command-line arguments you want to use for the program during the installation process.

Target operating system The operating system on which the custom extension runs.
Component The component, subcomponent, or shared component to which the file or directory is assigned.

See Assigning items to components for more information about assigning to components.

When to run When the custom extension is executed during the installation procedure:
  • Before the installation program begins
  • Before the project files are copied
  • After the project files are copied
  • Before the installation program exits