MSI_InstallPackage
Description
Section titled “Description”Performs a silent install of the specified MSI-package with its default settings. The function returns FALSE if the file doesn’t exist, or if the product isn’t installed after the installation.
Windows Installer writes a verbose log to Logs\MSI\<product name>.log in the CapaInstaller client directory.
You can’t pass MSI properties or transforms to this function. To do that, run msiexec.exe with Shell_Execute.
Syntax
Section titled “Syntax”MSI_InstallPackage(sMSIFile) As Boolean
Parameters
Section titled “Parameters”sMSIFile (String)
Section titled “sMSIFile (String)”Path and filename of the MSI-package
Example
Section titled “Example”If bStatus Then bStatus = MSI_InstallPackage("C:\CapaInstalller.msi")Related functions
Section titled “Related functions”MSI_UnInstallByFile MSI_IsPackageInstalled MSI_GetPackageStatus Constants Package Property Variables