MSI_AddInstallSource
Description
Section titled “Description”Changes the InstallSource for a installed msi package in order to uninstall the package if the original source no longer exists.
The function adds the folder that contains sMSIFile to the source list of the installed product, so Windows Installer can find the package there.
This function will return false if the msi package is not installed on the client
Syntax
Section titled “Syntax”MSI_AddInstallSource(sMSIFile) as Boolean
Parameters
Section titled “Parameters”sMSIFile (String)
Section titled “sMSIFile (String)”Path to msi package. The file must exist and must be the same package (same product code) as the installed product.
Example
Section titled “Example”If bStatus Then bStatus = MSI_AddInstallSource("C:\Temp\CapaInstaller Console.msi")Read more