MSI.InstallProduct

boolean MSI.InstallProduct ( 

string   PackagePath,

string   CommandLine)

Description

Calls the MsiInstallProduct function to install or uninstall a product.

Parameters

PackagePath

(string) The full path and filename of the package to install.

CommandLine

(string) The command line property settings to pass to the package. This string should be a list in the format: "Property=Setting Property=Setting". To perform an administrative installation, include "ACTION=ADMIN". You can completely remove a product  using "REMOVE=ALL", or install a product using "ACTION=INSTALL."

Returns

(boolean)  True if the action completely successfully, and false if it did not or an error occurs. You can use Application.GetLastError to determine whether this action failed, and why.

See also:  Related Actions