# InstallerEventListener

Import: `import com.install4j.api.events.InstallerEventListener;`

```java
interface InstallerEventListener
```

The interface that must be implemented by classes who are interested in installer events.
Event listeners are registered with the `Context`.


**See also:**

- [Context.addInstallerEventListener](../context/Context.md#addinstallereventlistener-installereventlistener)
- [EventType](EventType.md)
- [InstallerEvent](InstallerEvent.md)
- [InstallerFileEvent](InstallerFileEvent.md)

## Methods

| Signature | Returns | Description |
|---|---|---|
| [`installerEvent(InstallerEvent)`](#installerevent-installerevent) | `void` | Called when an installer event is fired. |

### installerEvent(InstallerEvent)

```java
void installerEvent(InstallerEvent event)
```

Called when an installer event is fired.


**Parameters:**

- `event` — the event

