# CapaInstaller Install Agent

> Installs the CapaInstaller agent.

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

Installs the CapaInstaller agent. If CapaInstallerAgentSetup.exe and CapaInstaller agent.xml exist in $PackageRoot they are used, otherwise they are downloaded from FrontendURLInternal or FrontendURLPublic before install. Optionally sets PCType in registry before installation.

## Parameters

#### Frontend URL Internal
*Optional*

Internal frontend base URL, for example https://capa-internal.CapaSystems.dk:443 or http://capa-internal.CapaSystems.dk:8080. Tried before the public URL when both are set.

#### Frontend URL Public
*Optional*

Public frontend base URL, for example https://capa.CapaSystems.dk:443 or http://capa.CapaSystems.dk:8080. Used when the internal URL is not set or cannot be reached.

#### CapaInstaller Management Point ID
*Optional* — Default: `0`

Numeric CMPID value. Use 0 to skip cmpid query string.

#### Installation Type
*Optional* — Default: `CapaOne`

Optional Installation type value written to HKLM\SOFTWARE\CapaSystems\CapaInstaller\OSD\PCType before installation.

## Details

- **Category:** Provisioning
- **Brick ID:** `CapaInstaller-Install-Agent`

## Raw JSON definition

**JSON**

```json
{
  "category": "provisioning",
  "description": "Installs the CapaInstaller agent. If CapaInstallerAgentSetup.exe and CapaInstaller agent.xml exist in $PackageRoot they are used, otherwise they are downloaded from FrontendURLInternal or FrontendURLPublic before install. Optionally sets PCType in registry before installation.",
  "developerVendor": "CapaSystems A/S",
  "displayName": null,
  "id": "CapaInstaller-Install-Agent",
  "name": "CapaInstaller Install Agent",
  "parameters": [
    {
      "allowManualInput": false,
      "defaultValue": "",
      "defaultValueObject": null,
      "description": "Internal frontend base URL, for example https://capa-internal.CapaSystems.dk:443 or http://capa-internal.CapaSystems.dk:8080. Tried before the public URL when both are set.",
      "id": "FrontendURLInternal",
      "name": "Frontend URL Internal",
      "regExValidation": "",
      "required": false,
      "type": "TextBox",
      "value": null,
      "values": [],
      "valuesObject": null
    },
    {
      "allowManualInput": false,
      "defaultValue": "",
      "defaultValueObject": null,
      "description": "Public frontend base URL, for example https://capa.CapaSystems.dk:443 or http://capa.CapaSystems.dk:8080. Used when the internal URL is not set or cannot be reached.",
      "id": "FrontendURLPublic",
      "name": "Frontend URL Public",
      "regExValidation": "",
      "required": false,
      "type": "TextBox",
      "value": null,
      "values": [],
      "valuesObject": null
    },
    {
      "allowManualInput": false,
      "defaultValue": "0",
      "defaultValueObject": null,
      "description": "Numeric CMPID value. Use 0 to skip cmpid query string.",
      "id": "CMPID",
      "name": "CapaInstaller Management Point ID",
      "regExValidation": "",
      "required": false,
      "type": "Integer",
      "value": null,
      "values": [],
      "valuesObject": null
    },
    {
      "allowManualInput": false,
      "defaultValue": "CapaOne",
      "defaultValueObject": null,
      "description": "Optional Installation type value written to HKLM\\SOFTWARE\\CapaSystems\\CapaInstaller\\OSD\\PCType before installation.",
      "id": "PCType",
      "name": "Installation Type",
      "regExValidation": "",
      "required": false,
      "type": "TextBox",
      "value": null,
      "values": [],
      "valuesObject": null
    }
  ],
  "powershell": {
    "base64Encoded": true,
    "function": "ZnVuY3Rpb2..."
  },
  "type": "powerbrick",
  "version": "2026.9.1.1"
}
```
