Installing Third-Party Software

If your application depends on third-party software (for example, a database library or a system update), you might want to install it along with the rest of your application. In many cases, the vendor provides instructions about which files you should redistribute and how to install them. If that is the case, you can add them to your Tarma Installer project just like any other files.

However, sometimes all you can or are allowed to do is to redistribute a self-contained, self-installing package. This gives you less control over the overall installation process, but you can still use Tarma Installer's Setup program to co-ordinate the installation of the external package along with the rest of your application.

Tip - It is possible to use Tarma Installer to create shortcuts to files installed by a third-party installer. See Installing Shortcuts to External Files for details about the steps involved. If you do so, be sure to run the external package's action before the Install: Shortcut installation built-in action; see step 6 below.

How to install an external package with Tarma Installer

To install one or more self-installing external packages along with your regular Tarma Installer Setup package, act as follows for each external package.

  1. Decide where to put the external package's distribution file with respect to your own distribution package. In most cases, it is most convenient to put the external package on the same media and in the same folder (or a subfolder or sibling folder thereof) as your distribution package proper. Alternatively, simply add the external package as another installation file to the Tarma Installer project, possibly in a special Temp folder that you create off the main <AppFolder> installation folder.
  2. In your Tarma Installer project, select the Advanced - Actions page by clicking on its bullet in the Navigation area.
  3. Right-click anywhere in the Actions list to open its context menu.
  4. On the context menu that appears, choose Insert Blank Action. Alternatively, if you installed the external package as another file in step 1, choose Insert File Action... and use the Select Installation File dialog that appears to select the external package file.
  5. Tarma Installer creates a new action at the bottom of the list. In the Action settings pane, set the following options:

  6. Move the newly created action to its proper position in the list of actions, using the and toolbar buttons, or by pressing Ctrl+Down and Ctrl+Up. See Guidelines for custom actions in the online help for a detailed discussion of the relation between custom actions and the built-in installation actions. Generally speaking, you probably want to place it immediately after the Install: File installation built-in action.