Skip to content

Install EXE

Installs an application using an executable file. This brick allows you to specify the path to the executable, any necessary command-line arguments, and various execution options such as waiting for completion and user context. It also includes the ability to define return code handling to determine the success or failure of the installation based on the process’s exit code.

Required — Default: $PackageRoot\Setup.exe

Remember to include the [Download Content] PowerBrick when using $PackageRoot. Ex. $PackageRoot\setup.exe

Optional

The arguments to be used during the installation

Optional

The full path of the working directory

Required — Default: True

Wait for the executable to terminate before proceeding

Optional — Default: Hidden

The window style to be used during the installation. Not relevant for installations in System Context Allowed values: Hidden, Normal, Minimized, Maximized.

Required — Default: False

Check if the executable exists before starting the installation

Required

Specify how each return code from the process is handled. Success continues the job, Failure stops the job as failed with that return code, and Retry Execution Later stops the job and runs it again later. Any return code not in the list stops the job as failed. Allowed values: Success, Failure, Retry Execution Later.

  • Category: Installer
  • Brick ID: Install-Exe