# Register DLL

> Registers a DLL file or all DLL files within a specified directory using the regsvr32 command.

Source: https://docs.capaone.com/capaone/application-manager/powerbricks/register-dll/  
Product: CapaOne — a separate CapaSystems product; do not apply this page to any other.

Registers a DLL file or all DLL files within a specified directory using the regsvr32 command. This PowerBrick can be used to register COM components during a package installation.

## Parameters

#### DLL File or Directory Path
*Required*

The full path to a DLL file or directory containing DLL files. Remember to include the [Download Content] PowerBrick when using $PackageRoot. Ex. $PackageRoot\library.dll

## Details

- **Category:** System
- **Brick ID:** `DLL-Register`

## Raw JSON definition

**JSON**

```json
{
  "category": "system",
  "description": "Registers a DLL file or all DLL files within a specified directory using the regsvr32 command. This PowerBrick can be used to register COM components during a package installation.",
  "developerVendor": "CapaSystems A/S",
  "displayName": null,
  "id": "DLL-Register",
  "name": "Register DLL",
  "parameters": [
    {
      "allowManualInput": false,
      "defaultValue": "",
      "defaultValueObject": null,
      "description": "The full path to a DLL file or directory containing DLL files. Remember to include the [Download Content] PowerBrick when using $PackageRoot. Ex. $PackageRoot\\library.dll",
      "id": "LiteralPath",
      "name": "DLL File or Directory Path",
      "regExValidation": "",
      "required": true,
      "type": "TextBox",
      "value": null,
      "values": [],
      "valuesObject": null
    }
  ],
  "powershell": {
    "base64Encoded": true,
    "function": "ZnVuY3Rpb2..."
  },
  "type": "powerbrick",
  "version": "2026.9.1.1"
}
```
