# Create package

> Creates a new package.

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

## Description

Creates a package.

## Syntax

CreatePackage(Byval PackageName as String, Byval PackageVersion as String, Byval UnitType as String, Byval DisplayName as String) as Boolean

## Parameters

***PackageName (String)***

The name of the package.

***PackageVersion (String)***

The package Version.

***UnitType (String)***

The unit type;

- "Computer"
- "User"

***DisplayName (String)***

The name that the end user is presented with

## Return value

Boolean. The function returns True if successful, otherwise false.

## Example

**VBScript**

```vb
Set oCMS = CreateObject("CapaInstaller.SDK") 
wscript.echo oCMS.SetInstanceManagementPoint("1") 
wscript.echo oCMS.CreatePackage("MSOfficeDK_2012","v12.0","Computer","MicroSoft Office Version 12 (DK)") 
```
