List main actions performed during installation into a user friendly log-like fashionCopy link to this sectionLink to this section copied!

1. Create ProjectCopy link to this sectionLink to this section copied!

By default, during the execute stage of the installation, the user will see a glimpse of the action that is being performed. You can choose to also display the actions that have already been completed.

The dialog that is being displayed during the execution stage of the installation is "ProgressDlg". We will add an "Edit" control and subscribe it to the installation log events.

Launch Advanced Installer, select Enterprise and press the [ Create Project ] button.

Start Page

2. Adding an edit controlCopy link to this sectionLink to this section copied!

DialogsSwitch to the Dialogs page.

ToolboxUse the [ Toolbox ] toolbar button to display the toolbox. Select "ProgressDlg" in the tree and add an edit control to the dialog.

Delete the "StatusLabel" and "ActionText" controls and reposition the controls so they will look something like:

Modified ProgressDlg

3. Register the edit control to display installation detailsCopy link to this sectionLink to this section copied!

3.1 Configure the control subscriptionCopy link to this sectionLink to this section copied!

Configure the control subscription as follows:

  • Subscribe to: Display installation actions summary (EXE UI only)
  • Attribute to set: Text

3.2 Enable multiline, read-only and vertical scrollbar edit control attributesCopy link to this sectionLink to this section copied!

In the Properties pane located on the right side, set the Multiline, Read-only and Vertical Scrollbar attribute to True.

3.3 Enable EXE External UICopy link to this sectionLink to this section copied!

The EXE External UI is required for the installation log messages to be displayed. You must set this package option from the Themes page > Settings tab.

4. PreviewCopy link to this sectionLink to this section copied!

At install-time the "ProgressDlg" should look like:

Install-time Summary Log

To also display the action details (the installed resources and any other action data) you should retake the Configure the control subscription step but subscribe the edit control to Display installation details (Enhanced UI only) event. You should now obtain something like:

Install-time Details Log

5. Formatting and IndentingCopy link to this sectionLink to this section copied!

5.1 Indent action detailsCopy link to this sectionLink to this section copied!

Set the ActionDataPrefix property (from Install Parameters) to the "   " (three spaces) text. That text will be added before each ActionData message.

Install-time Details Log

5.2 More actions text decorationsCopy link to this sectionLink to this section copied!

There also other properties that can be used to control the format:

  • ActionTextSuffix - will be added after each ActionText message. Let's use "...".
  • ActionTextDoneSuffix - will be added when the current action is finished. Let's use " done".
  • ActionTextPrefix - will be added before each ActionText message.
  • ActionDataSuffix - will be added after each ActionData message.
  • SubActionPrefix - will be added before each ActionText message received during removal of older versions.

Install-time Details Log

6. Change the text displayedCopy link to this sectionLink to this section copied!

6.1 Hide actionsCopy link to this sectionLink to this section copied!

Some of the actions are already been filtered out because they are not important steps for the installation. If you want to display even fewer actions, set the AiIgnoredSummaryActions property to the actions that you don't want to be displayed (separate more actions with a space). Let's use ProcessComponents WriteRegistryValues and our installation log will look like:

Install-time Filtred Log

6.2 Customize displayed textCopy link to this sectionLink to this section copied!

The descriptive text displayed for each action is stored in the ActionText table. To change the message you have 2 options:

  • In the Default Strings Tab from "Translations" view and update the corresponding Description and Template strings.
    This change will affect all projects you build on your computer.
  • In the ActionText table in Table Editor and update the Description and Template columns.