# UnattendedProgressInterface

Import: `import com.install4j.api.context.UnattendedProgressInterface;`

```java
interface UnattendedProgressInterface extends ProgressInterface
```

The user notification interface during unattended installations. By default, no
progress information is shown during unattended installations. For each installer application, you can set the
"Progress interface creation" script property to provide your own means of displaying progress information.
For example, you might want to go to full-screen mode during update installers on dedicated special-purpose computers.

This interface adds a few methods to the default [`ProgressInterface`](ProgressInterface.md) interface that are only
relevant in unattended mode.


**See also:**

- [ProgressInterface](ProgressInterface.md)
- [Context.getProgressInterface](Context.md#getprogressinterface)

## Inherited from

- [ProgressInterface](ProgressInterface.md) — 13 methods, 7 fields

## Methods

| Signature | Returns | Description |
|---|---|---|
| [`setVisible(boolean)`](#setvisible-boolean) | `void` | Called when the progress interface is created and destroyed. |
| [`setCancelButtonEnabled(boolean)`](#setcancelbuttonenabled-boolean) | `void` | Called if the cancel button is enabled or disabled. |
| [`setCancelButtonVisible(boolean)`](#setcancelbuttonvisible-boolean) | `void` | Called if the cancel button is made visible or invisible. |
| [`isAskForProxy()`](#isaskforproxy) | `boolean` |  |

### setVisible(boolean)

```java
void setVisible(boolean visible)
```

Called when the progress interface is created and destroyed.
At startup, this method is called with a parameter of `true`, at exit it is called with a
parameter of `false`. You should use this method for the life cycle of a window or similar resources.


**Parameters:**

- `visible` — `true` at startup and `false` at exit

### setCancelButtonEnabled(boolean)

```java
void setCancelButtonEnabled(boolean enabled)
```

Called if the cancel button is enabled or disabled.


**Parameters:**

- `enabled` — `true` or `false`

**See also:**

- [WizardContext.setControlButtonEnabled](WizardContext.md#setcontrolbuttonenabled-controlbuttontype-boolean)

### setCancelButtonVisible(boolean)

```java
void setCancelButtonVisible(boolean visible)
```

Called if the cancel button is made visible or invisible.


**Parameters:**

- `visible` — `true` or `false`

**See also:**

- [WizardContext.setControlButtonVisible](WizardContext.md#setcontrolbuttonvisible-controlbuttontype-boolean)

### isAskForProxy()

```java
@Deprecated default boolean isAskForProxy()
```

> **⚠ Deprecated.**

