# Remove package from group

> Removes a package from a group.

Source: https://docs.capaone.com/capainstaller/sdk-capainstaller-software-development-kit-functions/package-functions/remove-package-from-group/  
Product: CapaInstaller — a separate CapaSystems product; do not apply this page to any other.

## Description

Removes a package from a group.

## Syntax

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

## Parameters

***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"

## Return value

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

## Example

**VBScript**

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