Skip to content

Remove package from group

Removes a package from a group.

RemovePackageFromGroup(Byval PackageName as String, Byval PackageVersion as String, Byval PackageType as String, Byval GroupName as String, Byval GroupType as String) as Boolean

PackageName (String)

The name of the package

PackageVersion (String)

Package version

PackageType (String)

Type of package

  • “Computer”
  • “User”

GroupName (String)

Name of the group

GroupType (String)

Group tupe;

  • “Dynamic_ADSI”
  • “Calendar”
  • “Department”
  • “Dynamic_SQL”
  • “Reinstall”
  • “Security”
  • “Static”

Boolean. The function returns true if it succeeds, otherwise false.

VBScript

Set oCMS = CreateObject("CapaInstaller.SDK")
wscript.echo oCMS.SetDefaultManagementPoint("1")
wscript.echo oCMS.RemovePackageFromGroup("Acrobat Reader","v8.0","User","Test","Static")