# Promote Package

> Promotes a package to child points.

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

## Description

Promotes a package

## Syntax

Public Function PackagePromote(ByVal **packageName** As String, ByVal **packageVersion** As String, ByVal **packageType** As String) As Boolean

## Parameters

***PackageName (String)***

The name of the package

***PackageVersion***

The version of the package, i.e.: "v1.0"

***PackageType (String)***

Type of package

- "Computer"
- "User"

## Return value

The function returns true if successful.

## Example

**VBScript**

|                                                                                                                                                                                                         |
|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `Set` `oCMS = CreateObject(``"CapaInstaller.SDK"``)` `wscript.echo oCMS.SetInstanceManagementPoint(``"1"``)` `wscript.echo oCMS.PackagePromote(``"Mozilla Firefox 76.0 EN"``,``"v1.0"``,``"Computer"``)` |
