How to enable the XPS viewer for Windows Server 2008 when using Firefox

When you are running Firefox as the default browser in either Windows Server 2008 & Vista, it is impossible to view XPS files without some work. Windows opts to always open XPS files in a browser. Firefox doesn’t know how to handle XPS, so it opts to open them with the registered app: XPSViewer, which happens to open the file in a browser. Thus, you get a never-ending loop.

I searched for some solutions and came up with two that were pretty slick. I really would like a standalone lightweight XPS viewer, but they don’t seem to exist.

Solution 1: Use the IETab extension

Instructions from http://channel9.msdn.com/ShowPost.aspx?PostID=259840
?

Install the IETab extension from http://ietab.mozdev.org/

Add a filter for xps extensions or modify the mht filter to read:

/^file:\/\/\/.*\.(mht|mhtml|xps)$/

Presto – XPS docs open in an IE tab within Firefox.

IE Tab Options screenshot

Solution 2: Associate the .XPS extension with Internet Explorer

Hold down shift, right-click on an XPS file and choose “Open With…”. The default should be “XPS Viewer”. Select Internet Explorer and then check the box “Always use the selected program to open this kind of file”.

Associate XPS file screenshot

For some reason this doesn’t seem as elegant as solution 1, but it gets the job done without having to install any additional plug-ins.

  • No Related Post
bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark
tabs-top

Leave a Reply