Static text for action text has grey background - Advanced Installer Community
annxii
Posts: 1
Joined: Mon May 27, 2013 10:07 am

Static text for action text has grey background

I have an installer which uses theme Spring\LightSkyBlue.

In the progress dialog I have enabled action text, which shows up fine. I've set the box to Transparent, however it still shows up with a grey background.

Anybody got a hint?
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Static text for action text has grey background

Hi and welcome to Advanced Installer forums.

Thank you for your interest in Advanced Installer.

The "Spring" theme is a HTML theme and that's why Windows Installer's controls do not suit it very well. So, in order to achieve what you want you can make some changes in its HTML sources.

Also you can follow the steps below:
- copy the attached file (extract it from the "progress.rar" archive) in the "C:\Program Files (x86)\Caphyon\Advanced Installer 10.1\themes\spring\resources\html" folder and replace the existing one (we made the necessary changes in this file for displaying the "Action Text" control).

Note: By replacing the existing "progress.html" file, the changes will apply to all your future projects created with Advanced Installer. If you don't want this, you can go in the Files and Folders page of your current project, then go in the "Windows Volume\Temporary\[|ProductCode]\Spring.742DA8B7" folder, double-click on the "progress.html" file and using the [...] button select the file I attached to this post.

- go in the Table Editor page, select the "EventMapping" table and modify the following row:

Code: Select all

ProgressDlg          ActionText           ActionText         Text
like it is written below:

Code: Select all

ProgressDlg          HtmlHost             ActionText         Text
(make sure you write "HtmlHost" and press Enter, not choose it from the drop-down list)

- build and run the project.

We only added the following rows in the "progress.html" file:

Code: Select all

function ActionText(aText) {
      document.getElementById('actiontext').innerHTML = aText;
    }

<p class="description" id="actiontext">
      </p>
You can find more details in the HTML Host Control article.

Best regards,
Eusebiu
Attachments
progress.rar
(1.56 KiB) Downloaded 239 times
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”