Remove package from group
Description
Section titled “Description”Removes a package from a group.
Syntax
Section titled “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
Section titled “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
Section titled “Return Value”Boolean. The function returns true if it succeeds, otherwise false.
Example
Section titled “Example”VBScript
Set oCMS = CreateObject("CapaInstaller.SDK")wscript.echo oCMS.SetDefaultManagementPoint("1")wscript.echo oCMS.RemovePackageFromGroup("Acrobat Reader","v8.0","User","Test","Static")