Skip to content

Register DLL

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.

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

  • Category: System
  • Brick ID: DLL-Register
{
"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": [
{
"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.7.2.1"
}