CMS_GetPackageProperties

Description

Returns the value of the specified package property


Syntax

CMS_GetPackageProperties(sPackage, sVersion, sProperty) As Boolean


Properties

sPackage (String)

Name of the package

sVersion (String)

Version of the package

sProperty (String)

Property to look for in package


Return value

Result will be stored in gsValue


Example

VBScript
If bStatus Then bStatus = CMS_GetPackageProperties("CapaInstaller", "v1.0", PP_Mandatory)
If bStatus Then
  xStatus = Job_WriteLog("Custom","gsValue: " & gsValue, bStatus, True)
End If

Scripting Guidelines


Related functions