Skip to content

MSI\_GetGuidsByProductName

Gets all package guids that match product name

MSI_GetGuidsByProductName(sProductName) As Boolean

sProductName (String)

Product name

Result will be stored in gaValue

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