# Actions: Finish

install4j BeanInfo catalog. Each entry below documents a bean class that can appear inside a `<serializedBean>` element in an install4j project file.

## Contents

- [Execute launcher](#execute-launcher) — `com.install4j.runtime.beans.actions.finish.ExecuteLauncherAction`
- [Reboot computer](#reboot-computer) — `com.install4j.runtime.beans.actions.finish.RebootAction`
- [Show file](#show-file) — `com.install4j.runtime.beans.actions.finish.ShowFileAction`
- [Show URL](#show-url) — `com.install4j.runtime.beans.actions.finish.ShowURLAction`

---

### Execute launcher
- **Class:** `com.install4j.runtime.beans.actions.finish.ExecuteLauncherAction`
- **Category:** Final options
- **Multiple instances:** yes
- **Installed files required:** yes

Execute an installed launcher and return immediately. This action is intended to be placed on the "Finish" screen. A confirmation can be added automatically to the "Finish" screen.If the main installation process has been elevated by the "Request privileges" action, this action is pushed to the original process with limited rights. Please see the help topic on "Elevation Of Privileges" for more information.

| Property | Type | Category | Visible when | Description |
|---|---|---|---|---|
| `launcherId` — Launcher | String [context=nonServiceLauncher] | Configuration | — | The launcher that will be executed. Service launchers are not shown. |
| `arguments` — Arguments | String[] | Configuration | — | The arguments passed to the launcher. Please note that in the edit dialog, each argument starts on a new line. Arguments that are installer variables with array or collection values (e.g. String[], Object[] or List<File>) are expanded as separate arguments, this allows you to build a variable length list of arguments at runtime. |

### Reboot computer
- **Class:** `com.install4j.runtime.beans.actions.finish.RebootAction`
- **Category:** Final options
- **Multiple instances:** yes

Reboot the computer on Windows and macOS. This action will trigger a reboot that takes place at the end of installation or uninstallation. By default, the user will be asked whether to reboot or not.

| Property | Type | Category | Visible when | Description |
|---|---|---|---|---|
| `askUser` — Ask user | boolean | Configuration | — | Ask the user whether the reboot should be performed or not. |

### Show file
- **Class:** `com.install4j.runtime.beans.actions.finish.ShowFileAction`
- **Category:** Final options
- **Multiple instances:** yes
- **Installed files required:** yes

Show a file with the associated application. Usually, a text file or an HTML file is appropriate. This action is intended to be placed on the "Finish" screen. A confirmation can be added automatically to the "Finish" screen.If the main installation process has been elevated by the "Request privileges" action, this action is pushed to the original process with limited rights. Please see the help topic on "Elevation Of Privileges" for more information.

| Property | Type | Category | Visible when | Description |
|---|---|---|---|---|
| `file` — File | File | Configuration | — | The file that will be shown. |

### Show URL
- **Class:** `com.install4j.runtime.beans.actions.finish.ShowURLAction`
- **Category:** Final options
- **Multiple instances:** yes
- **Installed files required:** yes

Show a URL in the default browser. This action is intended to be placed on the "Finish" or the "Uninstallation success" screen.If the main installation process has been elevated by the "Request privileges" action, this action is pushed to the original process with limited rights. Please see the help topic on "Elevation Of Privileges" for more information.

| Property | Type | Category | Visible when | Description |
|---|---|---|---|---|
| `urlSpec` — URL | String | Configuration | — | The URL that will be shown. |

