Installing an Application
You can install entire products with Windows Installer functions. The following steps describe how to install a product.
To install a product
Run a product through its installation or uninstallation sequence by calling the MsiInstallProduct function.
Specify the installation level by calling the MsiConfigureProduct function.
You can use the parameters of the MsiConfigureProduct function to set the installation state. For example, you can set the state to install locally or to install from the source. You can set the range of product features to be included by setting the level.
For more information about installing an application, see Resiliency and Installation Mechanism.