Page tree
Skip to end of metadata
Go to start of metadata

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

VBScript
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

  • No labels