Wrong Browser Launched when Executing a Web Program from the Studio (Magic xpa 4.x)
This Technical Note explains what to do when the wrong browser is launched when executing a Web program from the Studio.
When executing a Browser Client program in Studio mode, one of the following issues might occur:
-
Although Internet Explorer is set as the default browser, another browser loads.
-
In some cases, the "No browser is installed" error is displayed.
To make sure that the default browser is set to Internet Explorer, open a Winword document and create a hyperlink in the document. Check the results by clicking the hyperlink in the document. The Internet Explorer browser should open and display the hyperlinked page. If this does not work, you have an operating system (OS) issue that you will need to resolve first.
However, if the default browser opens correctly from the Winword document, and if the problem is seen only from Magic xpa, then you need to check the following two registry keys:
-
The association of .htm extension files is obtained by reading the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.htm
This should have the (default) value of htmlfile. The browser problem occurs when the value is different from htmlfile. Once you have verified that this value is correct, you should check the next point, below.
-
The path for executing htmlfile is obtained by reading following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\htmlfile\Shell\open\command
This returns the path of browser in use. For example:
C:\Program Files (x86)\Internet Explorer\iexplore.exe" -nohome
You should confirm the path of the browser to solve this issue.