Skip to content

MSI_AddInstallSource

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

MSI_AddInstallSource(sMSIFile) as Boolean

Path to msi package. The file must exist and must be the same package (same product code) as the installed product.

If bStatus Then bStatus = MSI_AddInstallSource("C:\Temp\CapaInstaller Console.msi")

Read more

MSI_UnInstallByFile Constants Package Property Variables