Page tree

Versions Compared

Key

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

Description

Returns the status for the specified MSI-package


Syntax

MSI_GetPackageStatus(sMSIFile) As Boolean


Parameters

sMSIFile (String)

Path and filename of the MSI-package


Return value

Result will be stored in gsValue. MSI Status


Example

Code Block
languagevb
themeEclipse
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