Adding Nested Setup Files Into a Setup Distribution Unit

When you are working with applications made up of several components (such as Microsoft® ActiveX® controls), you can:

When a nested setup is deployed or downloaded on the target computer, the innermost setup distribution unit runs first, and then the overall setup distribution unit. This strategy is appropriate when the components are used by several applications, or when the components are provided by a third party as a setup distribution unit, and you are not sure what is involved with that installation.

To add a nested setup to a setup distribution unit

  1. In the Project Explorer, select the setup distribution unit in which you want to place the nested setup file.

  2. On the Project menu, click Add Item.

  3. In the Add Item dialog box, click Browse and find the setup (.exe) file. Select this file and click Open.

  4. In the Project Properties dialog box, click the Nested Setups tab.

  5. Select the check box next to the nested setup file that you have just added to the project.

  6. Click OK.

Generate the setup files and add them to the project containing the in-place setup distribution unit. You can add files to the project by right-clicking the project, selecting Property Pages, and then clicking the Output Format tab. Click Include Additional Files.

To add a nested setup file to a setup in-place packaging configuration in a Visual J++ project

  1. In the Project Explorer, select the project containing the in-place setup, right-click, and then click Properties.

  2. In the Project Properties dialog box, click the Output Format tab.

  3. In the Output Format tab, confirm that the Enable Packaging check box is selected and the Self-extracting Setup (.EXE) option is chosen for the packaging type.

  4. Click Include Additional Files.

  5. In the Add Additional Files dialog box, click Add.

  6. In the Browse for Package Output File dialog box, find the setup (.exe) file. Select this file and click Open.

  7. In the Add Additional Files dialog box, click OK.

  8. Click Advanced to get to the property pages for that setup distribution unit.

  9. Click the Nested Setups tab.

  10. Select the check box next to the setup file that you have just added to the project.

  11. Click OK.