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.

This function will return false if the msi package is not installed on the client

MSI_AddInstallSource(sMSIFile) as Boolean

sMSIFile (String)

Path to msi package

VBScript

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

Read more