Page tree

Versions Compared

Key

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

...

Returns the status for the specified MSI-package

 


Syntax

MSI_GetPackageStatus(sMSIFile) As Boolean

 


Parameters

sMSIFile (String)

...

Result will be stored in gsValue. MSI Status

 


Example

Code Block
languagevb
themeEclipse
languagevb
titleVBScript
If bStatus Then bStatus = MSI_GetPackageStatus("C:\CapaInstaller.msi")
If bStatus Then bStatus = Job_WriteLog("Custom", "gsValue: " & gsValue, bStatus, True)

Scripting Guidelines

 


Related functions

MSI_InstallPackage MSI_UnInstallByFile MSI_IsPackageInstalled