Skip to content

CMS_UninstallPackageFromUnit

Uninstalls package from unit. The status of the package for the unit is set to Uninstall in CapaInstaller, and the agent uninstalls the package.

The package must be a computer package that is linked to the unit. Otherwise, the function fails.

CMS_UninstallPackageFromUnit(sPackage, sVersion) As Boolean

Name of package

Version of package

Boolean, TRUE if function completed successfully.

If bStatus Then bStatus = CMS_UninstallPackageFromUnit("CapaInstaller", "v1.0")

Scripting Guidelines

Constants Package Property Variables Business Unit support