Get Package Description

Description

Gets the package description


Syntax

GetPackageDescription(ByVal name As String, ByVal version As String, ByVal Type As String) As String


Parameters

PackageName (String)

The name of the package.

PackageVersion (String)

The package Version.

PackageType (String)

The package type;

  • 1 (Computer) 
  • 2 (User)

Return value

Return Value

String. The function returns the description for the unit.


Example 

VBScript
Set oCMS = CreateObject("CapaInstaller.SDK") 
wscript.echo oCMS.SetDefaultManagementPoint("1") 
wscript.echo oCMS.GetPackageDescription("Winrar","v3.0","1")