Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Test if specified package has been installed

 


Syntax

MSI_IsPackageInstalled(sMSIFile, bMustExist) As Boolean 


Parameters

sMSIFile (String)

...

Result will be stored in gbValue


Example

Code Block
language
languagevb
themeEclipse
vbtitleVBScript
If bStatus Then bStatus = MSI_IsPackageInstalled("C:\CapaInstaller.msi", False)
If bStatus Then bStatus = Job_WriteLog("Custom", "gbValue: " & gbValue, bStatus, True)

Scripting Guidelines 


Related functions

MSI_InstallPackage MSI_UnInstallByFile MSI_GetPackageStatus