InstallAware for Windows Installer
 

Run Programs (Advanced Options)

The Run Programs page allows you to run external programs as a part of your installation process.

You may also specify the timing of program execution while inserting the run request.

Additionally, if the program to run is not installed by your setup or included in it as a temporary resource, you may download the program from the Internet.

Running a Local Program

To run a program already on the local PC, follow these steps:

  1. Click the New button. The Run Program dialog box appears.
  2. Enter the full path to the program to run in the Program File field. You may click the Browse button to specify a program that is part of your setup, or you may refer to pre-existing files on the target system. You may also enter Internet URLs in this field to open them in the default browser.
  3. In the Run Timing field, choose the timing that best describes your usage scenario.
  4. In the Run Options field, you may specify commmand line parameters to the program, and optionally wait for the program to finish running before returning control to setup.
  5. Click OK to accept your changes.

Running a Program from the Internet

To download and run a program from the Internet, follow these steps:

  1. Click the New button. The Run Program dialog box appears.
  2. Check the The program to run is not installed by setup or found on the target system. First, download the program file here: box.
  3. Type the full path to the program URL in the field that is enabled when you check the box above.
  4. In the Run Timing field, choose the timing that best describes your usage scenario.
  5. In the Run Options field, you may specify commmand line parameters to the program, and optionally wait for the program to finish running before returning control to setup.
  6. Click OK to accept your changes.

Updating Run Options

To update the run settings for a program, follow these steps:

  1. Select the program to update.
  2. Click the Edit button.
  3. Update the necessary fields in the Run Program dialog box.

It is not possible to change the timing of a run command once it has been created. To change the timing, delete the existing command, and then re-create the command with the correct timing.

Removing a Run Program Command

To cancel running a program:

  1. Select the program to delete.
  2. Click the Delete button.

Scripting Details

The two-way integrated IDE emits or updates the underlying setup script every time the visual view is used. If you are using InstallAware scripting in your setups, the following information identifies the changes made by this visual page to your setup script.

Commands Used

This page emits the following types of scripting commands: Download File, Run Program. Additional general scripting commands may be emitted.

Commands Required

This page requires the following scripting commands to be already present in your setup script: Apply Install, Apply Uninstall. Additional commands may be required for the Run Timing Finish Dialog option. Template and wizard generated setups provide all necessary commands.