CMS_AddPackageToUnit

Description

Adds the specified package to the unit on which the script is being executed

 

Syntax

CMS_AddPackageToUnit(sPackage, sVersion) as Boolean

 

Parameters

sPackage (String)

Package name

sVersion (String)

Package version


Example

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

Scripting Guidelines

 

Related functions

CMS_RemovePackageFromUnit