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 ExpertInstall 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 ExpertInstall'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 ExpertInstall to create shortcuts to files installed by a third-party installer. See Installing Shortcuts for details about the steps involved. If you do so, be sure to run the external package's action before the CreateShortcuts standard action; see step 6 below.

How to install an external package with Tarma ExpertInstall

To install one or more self-installing external packages along with your regular Tarma ExpertInstall 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 ExpertInstall project, possibly in a special Temp folder that you create off the main installation folder.
  2. In your Tarma ExpertInstall project, go to the Action Sequences project page and select the MainInstall action sequence.
  3. Right-click on the MainInstall node or in the actions list to display its context menu, then choose New Action > Run Program from the menu.
  4. Tarma ExpertInstall creates the new Run Program action at the bottom of the list. In the Run Program attributes pane, set the following options:

    Consult the Run Program attributes documentation for other options.

  5. Move the newly created action to its proper position in the list of actions, using the toolbar buttons or by pressing Ctrl+Down and Ctrl+Up. If it is an installed file, it must come after the InstallFiles standard action; else it can be at any point between the StartProcessing and EndProcessing actions.