Skip to content

Get Package Description

Gets the package description

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

PackageName (String)

The name of the package.

PackageVersion (String)

The package Version.

PackageType (String)

The package type;

  • 1 (Computer)
  • 2 (User)

Return value

String. The function returns the description for the unit.

VBScript

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