rebootcode / phpdesktop

Automatically exported from code.google.com/p/phpdesktop
0 stars 0 forks source link

Option in settings.json to use newer IE version embedded #150

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Add "ie_version_emulation" (eg. values "8", "9", "10", "11" or "latest") option 
to "msie" section in settings.json. PhpDesktop should add the 
FEATURE_BROWSER_EMULATION registry key automatically before creating browser 
control, based on the option in settings.json.

Still needs to be investigated what IE version will be embedded for example 
when in registry it is set to IE 11, but version installed is IE 10. Will it 
use IE 10 in that case? Or will it fall to the default IE 7.0? In such case it 
should be detected first what version of IE is installed and then the registry 
key should be set appropriately to use the latest possible version.

--------
From the MSIEengine wiki page:

The default version of IE engine embedded is IE 7.0. Even if you have IE 11 
installed on Windows 7, then still the embedded version will be IE 7. To force 
it to be IE 10 for example you have to add the registry keys below. These 
registry keys could be added by your application's installer.

    32 bits: [(HKEY_CURRENT_USER or HKEY_LOCAL_MACHINE)\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION]
    64 bits: [(HKEY_CURRENT_USER or HKEY_LOCAL_MACHINE)\Software\wow6432node\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION]
     "phpdesktop-msie.exe" = dword 10000 (Hex: 0x2710)

See these articles for reference:
 * https://support.askia.com/hc/en-us/articles/200011472-Change-the-version-of-Internet-Explorer-in-askiadesign-s-web-test-mode
 * http://blogs.msdn.com/b/ie/archive/2009/03/10/more-ie8-extensibility-improvements.aspx

Original issue reported on code.google.com by czarek.t...@gmail.com on 5 Jan 2015 at 10:02

GoogleCodeExporter commented 8 years ago
Project will move to Github. Find this issue at the new address (soon): 
https://github.com/cztomczak/phpdesktop/issues/150

Original comment by czarek.t...@gmail.com on 24 Aug 2015 at 3:34