Codename K
Posts: 471
Joined: Fri Jan 29, 2010 3:04 pm

Theme Issues.

Hello,

I am using Spring LightSkyBlue theme. In the built-in dialogs the image button looks like this with the arrow,

https://drive.google.com/file/d/1mVGztH ... sp=sharing

But, if you add a custom dialog, then the image button is shown like this without the arrow,

https://drive.google.com/file/d/1mLI3aI ... sp=sharing

How to make the image buttons same on all dialogs in this theme?

Also, the controls shown by this image,

https://drive.google.com/file/d/1mVryte ... sp=sharing

These and other controls seem to be set Visible = False and only show based on this Control Condition = (NOT AIEXTERNALUI) OR (AI_IE_Ver < "06"). What does this mean?

:?:
K
Liviu
Posts: 1048
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: Theme Issues.

Hello K,

This happens because the Spring theme is developed using HTML.

On these dialogs we use an html control (TabHost) which contains the whole page in HTML.

If you want to make the new dialogs to look the same, you have to write that in HTML and work less with the Dialog Editor.

Here are the steps:

1. Create a new dialog, hide the existing controls from it. On this theme we show them only if IE doesn't work.

2. Add the TabHost control:
tabhost.png
tabhost.png (190.88 KiB) Viewed 3720 times

3. Create your .html template. You can start from our already created html dialogs.

You can find the .html templates in the following path:

Code: Select all

C:\Program Files (x86)\Caphyon\Advanced Installer 19.5\themes\spring\resources\html
You can use the attached newdialog.html template which I made. You have to customize this as per your needs.

You can check the other dialogs template content.

4. Add your newly created .html file as a Temporary File (we need the file to be available at the beginning of the installation):
temp.png
temp.png (89.92 KiB) Viewed 3720 times

5. Now link your template with the HtmlHost control:
htmlhost source.png
htmlhost source.png (25.16 KiB) Viewed 3720 times

Please find attached the sample project.

Hope this helps!

Best regards,
Liviu
Attachments
spring theme.zip
(8.76 KiB) Downloaded 128 times
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Codename K
Posts: 471
Joined: Fri Jan 29, 2010 3:04 pm

Re: Theme Issues.

Sorry for the late response. But, thanks for the information. I will try this.
K
Liviu
Posts: 1048
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: Theme Issues.

You're welcome, K!

If you require any further information, feel free to contact us.

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Codename K
Posts: 471
Joined: Fri Jan 29, 2010 3:04 pm

Re: Theme Issues.

Hello,

In the Spring LightSkyBlue theme, the Control Condition is added with this value (NOT AIEXTERNALUI) OR (AI_IE_Ver < "06") for many controls. However, it would seem that one main control have been missed out with this.

I added prerequisites in this theme and it showed the prerequisite dialog windows in the Dialogs section. In the dialog WelcomePrereqDlg, the Description label does not have this condition, which makes the installer to show both the labels with and without the IE.

Just letting you know of this issue.
K
Liviu
Posts: 1048
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: Theme Issues.

Hello K,

Thank you for letting us know.

I've forwarded your feedback to our development team.

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”