How to display the remaining time for the current progress sequence?

ImportantThe following article uses options that are available starting with the Enterprise edition and project type.

In order to display the remaining time a Static Text control must be used which will be subscribed to the TimeRemaining event published by Windows Installer. As an example we will display the remaining time for the current install progress.

The following steps must be taken:

  1. Select the ProgressDlg dialog in the “Install Sequence” tree.
  2. Use the [ New Control ] toolbar button to add a new Static Text control.
  3. Select the Subscribed Events tab in the “Control” pane.
  4. Use the [ New... ] button to subscribe the control to an event. The Edit Event Mapping Dialog will be displayed.
  5. Configure the control subscription as follows:
Subscribe toDisplay action data during install
Attribute to setTimeRemaining