Install MSI
Installs an application using an MSI installer. You can also define return code handling to manage different outcomes of the installation process.
Parameters
Section titled “Parameters”MSI Path
Section titled “MSI Path”Required — Default: $PackageRoot\Setup.msi
Remember to include the [Download Content] PowerBrick when using $PackageRoot. Ex. $PackageRoot\Setup.msi
MSI Arguments
Section titled “MSI Arguments”Required — Default: /qn REBOOT=REALLYSUPPRESS ALLUSERS=2
The arguments to be used during installation
Enable Extended MSI Logging
Section titled “Enable Extended MSI Logging”Optional — Default: False
Enable to include extra MSI debug logging in the generated MSI log file. It is recommended to enable this only when additional logging is needed for debugging scenarios. Disable to use standard verbose MSI logging.
Return Code Handles
Section titled “Return Code Handles”Required
Specify the return codes and their behavior Allowed values: Success, Retry Execution Later.
Details
Section titled “Details”- Category: Installer
- Brick ID:
Install-MSI
Raw JSON definition
Section titled “Raw JSON definition”{ "category": "installer", "description": "Installs an application using an MSI installer. You can also define return code handling to manage different outcomes of the installation process.", "developerVendor": "CapaSystems A/S", "displayName": null, "id": "Install-MSI", "name": "Install MSI", "parameters": [ { "defaultValue": "$PackageRoot\\Setup.msi", "defaultValueObject": null, "description": "Remember to include the [Download Content] PowerBrick when using $PackageRoot. Ex. $PackageRoot\\Setup.msi", "id": "msiFilePath", "name": "MSI Path", "regExValidation": "", "required": true, "type": "TextBox", "value": null, "values": [], "valuesObject": null }, { "defaultValue": "/qn REBOOT=REALLYSUPPRESS ALLUSERS=2", "defaultValueObject": null, "description": "The arguments to be used during installation", "id": "msiArgs", "name": "MSI Arguments", "regExValidation": "", "required": true, "type": "TextBox", "value": null, "values": [], "valuesObject": null }, { "defaultValue": "False", "defaultValueObject": null, "description": "Enable to include extra MSI debug logging in the generated MSI log file. It is recommended to enable this only when additional logging is needed for debugging scenarios. Disable to use standard verbose MSI logging.", "id": "IncludeMsiDebugLog", "name": "Enable Extended MSI Logging", "regExValidation": "", "required": false, "type": "Boolean", "value": null, "values": [], "valuesObject": null }, { "defaultValue": [ { "code": 0, "option": { "name": "Success", "id": "success" } }, { "code": 1618, "option": { "name": "Retry Execution Later", "id": "retrylater" } }, { "code": 3010, "option": { "name": "Success", "id": "success" } } ], "defaultValueObject": null, "description": "Specify the return codes and their behavior", "id": "Codehandle", "name": "Return Code Handles", "regExValidation": "", "required": true, "type": "CodeHandles", "value": null, "values": [], "valuesObject": [ { "id": "success", "name": "Success" }, { "id": "retrylater", "name": "Retry Execution Later" } ] } ], "powershell": { "base64Encoded": true, "function": "ZnVuY3Rpb2..." }, "type": "powerbrick", "version": "2026.7.2.1"}