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

Description

Gets all package guids that match product name

 

Syntax

MSI_GetGuidsByProductName(sProductName) As Boolean

 

Parameters

sProductName (String)

Product name

 

Return value

Result will be stored in gaValue

 

Example

VBScript
If bStatus Then bStatus = MSI_GetGuidsByProductName("CapaInstaller")
If bStatus And IsArray(gaValue) Then
  For index = LBound(gaValue) To UBound(gaValue)
    bStatus = Job_WriteLog("Custom", "Index #" & index & ": " & gaValue(index), bStatus, False)
  Next
End If

Scripting Guidelines

 

Related functions

 

  • No labels