performInstall

Summary

Performs the actual installation of the software. Moves all components to their final locations, launches any pending executions, and registers the package and all of its subcomponents in the Client Version Registry.

Method of

Install

Syntax

int performInstall();

Parameters

None.

Returns

An integer error code. For a list of possible values, see Return Codes. In some situations the method may return other errors. In a few cases you may get a registry error.

Example

Use the following code to abort or to finalize an installation, based on a variable you set earlier in your code:

initInstall("Royal Airways TripPlanner",
   "/RoyalAirways/TripPlanner",
   "1.0.0.0");
...
err = getLastError();
if (!err)
   performInstall();
else
   cancelInstall(err);