Christophs Weblog

Vierundzwanzig sind zu wenig

Solution for Centricity Enterprise Web issue with IE 9.0

Centricity Enterprise Web is a GE software program which allows medical images to be viewed in a web browser.

Trying to open the website in Internet Explorer 9 (e.g. Windows Server 2008, Windows7, …) fails as there is a dumb version check implemented:

if (ScriptEngineMajorVersion() < 5 || ScriptEngineMinorVersion() < 5) { complain&&fail…

This is false for 5.5, 5.6, etc. but true for any x.y with y<5 … for example the current Script Engine 9.0 thats shipped with IE9 …

A first approach to solve this issue is published on[1]. Set a javascript breakpoint while loading the website and overload the version test functions by sneaking in some javascript lines. OK, no.

Modifying the version number in the registry isn’t possible as the script engine is simple a registered .dll. Maybe modifying the dll registration might help, but wait: It’s getting far simpler!

Next I had a look at the dlls and found, that Windows Server 2008 ships both, the jscript9.dll and the jscript.dll which identifies as 5.8 (see C:\windows\system32). Exchanging these files isn’t a good idea but it led me to an Internet Explorer feature called FEATURE_USE_LEGACY_JSCRIPT.

The rest was easy. I created the required keys and values and yes: It worked!

————-[ centricity-web-IE-patch.reg ]———————-
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\Feature Control\FEATURE_USE_LEGACY_JSCRIPT]
(Warning: The backslashes might have been removed by my weblog software.)

Just save this file and run it one. Thats all!

The last line is only required if you integrate Centricity Web with SAP. Make sure any software that does the Centricity call has its own line.


Christophs Weblog © 2009-2017