Skip to content

MSI_InstallPackage

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.

MSI_InstallPackage(sMSIFile) As Boolean

Path and filename of the MSI-package

If bStatus Then bStatus = MSI_InstallPackage("C:\CapaInstalller.msi")

Scripting Guidelines

MSI_UnInstallByFile MSI_IsPackageInstalled MSI_GetPackageStatus Constants Package Property Variables