Tuesday, April 21, 2009

Execute XBAP in Google Chrome

This is an article for the fans of Chrome - viewing hosted WPF pages in Chrome.
By default this is not supported in Google Chrome (and apparently is not going to be supported officially too soon).
The support can be manually added by copying of libraries from an installation of Mozilla. So to be able to add this functionality, a few steps need to be followed:

Make sure you installed both last version of Chrome and Mozilla Firefox 3.0.0+.

The following libraries found in Mozilla Firefox instalation directory
C:\Program Files\Mozilla Firefox
have to be coppied to Chrome instalation directory;

Assumming Chrome is installed in the following directory, USER corresponds to your windows user.
C:\Users\[USER]\AppData\Local\Google\Chrome\Application

js3250.dll
mozcrt19.dll
nspr4.dll
nss3.dll
nssutil3.dll
plc4.dll
plds4.dll
smime3.dll
sqlite3.dll
ssl3.dll
xpcom.dll
xul.dll


This is about it. Enjoy Chrome!
Adrian