HTML control Internet Explorer version - Advanced Installer Community
dlenis
Posts: 40
Joined: Wed Nov 02, 2016 2:37 pm

HTML control Internet Explorer version

What version of Internet Explorer engine does the html host control uses? It seems to be lower than IE 9, probably 8. I am creating a custom control using the HTML host control and have run into issues using tags that work in IE9 or higher but not in the html host control.

For example:
The tags below will not worked inside the HTML host but work directly in the browser. I found alternative by using older methods that are compatible with IE8 or less.
IE9 or higher:
window.innerWidth;
window.innerHeight;
tr:nth-child(even) or tr:nth-child(odd)

Thank you,

Diego
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: HTML control Internet Explorer version

Hello,

Our HTML Host control uses the IE engine version that is currently installed on the machine where the setup is running. Did you test your HTML tags in the IE browser installed on the machine where the setup was running when the HTML Host control failed to interpret your code?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
dlenis
Posts: 40
Joined: Wed Nov 02, 2016 2:37 pm

Re: HTML control Internet Explorer version

Yes, open the html page directly in IE and Chrome with no issues, repeated with same results on different laptop. Tags are IE9 and above compatible. I've emailed you the html host control page.

Thank you,

Diego
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: HTML control Internet Explorer version

Hello Diego,

Thank you for the sent file. I tested it and replicated the behavior.

I'm not so sure, but at a first glance it seems that the related JS functions are not supported by the IE API used by our HTML Host control. I've opened a ticket to our development team to investigate this scenario and as soon as I get a conclusion from them I'll get back to you.

Thank you for your patience.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: HTML control Internet Explorer version

Hello Diego,

We further investigated this ticket and this happens because the "IWebBrowser2" interface, that we use to emulate HTML content, uses by default the Internet Explorer 7 engine for compatibility reasons. This is the default Microsoft implementation of the IE API that we use.

As a workaround, you can change the IE engine used by the "IWebBrowser2" interface by configuring the following registry key.

Code: Select all

HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION
You should simply add under the "FEATURE_BROWSER_EMULATION" key a DWORD registry value type set like this:
  • Value Name: the name of your setup process (e.g. setup.exe)
    Value Data: IE Version (e.g. 0x2AF9)
Also, please note that the IE version that you want to use by the IE emulation mode must be installed on your machine.

For instance, you can write your own custom action which checks the higher IE version installed on current machine and set the "FEATURE_BROWSER_EMULATION" registry key accordingly. The custom action can be added as a custom action with sequence scheduled before "Wizard Dialogs Stage ->User Selection" action group.

If you have any questions just let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”