Who would ever want to play video on a server?

by Matt 28. January 2009 17:49

It's another hack-an-msi post.

Currently, I’m building web sites that display videos. Rather sensibly, we use Windows Server 2003 as our development platform. It is the target platform after all.

Did I mention the videos? We’d like to be able to watch them to, for example, test what we’re building.

Not a problem in Internet Explorer.

And, thanks to those nice Port 25 Microsoft open source peace loving hippies, there’s a plugin for Firefox to view Windows Media Player movies in line. Only on client operating systems.

Wait, what?

Yep. It flat out refuses to install on Windows Server. Firefox installs, Windows Media Player installs. But the plugin for Windows Media Player in Firefox doesn't. Bah humbug.

Right. Let's get that sorted. Download the .exe from the download page. Use your favourite version of 7-zip to extract all the files - the exe is just a wrapper around an msi file. Right click on the file and select Edit with Orca (Orca is an msi editor that comes with the Windows SDK, but it's not installed by default. The orca.msi file is in the bin dir). Now, find the LaunchCondition table and see the MsiNTProductType=1 condition. This is the one that's causing us the trouble. Right click, select drop row and save the file.

All done. Firefox can now play Windows Media files. On a server! Oh me oh my! The end of the world, etc, etc, etc…

Tags:

Comments (4) -

What to Invest In
What to Invest In
6/14/2011 4:37:51 PM #

I've gotten lots of errors like this when I tried to play some games. Is it because I am playing the game from a server as well?

Reply

best suv 2011
best suv 2011
7/20/2011 10:26:45 PM #

Is it ok if I quote your article in my monthly newsletter? I would think this article suits my topic perfectly. Well ya, thanks for posting this article.

Reply

luxury cars brands
luxury cars brands
7/22/2011 1:30:21 AM #

Per il tuo bambino scegli Moncler. Una scelta di capi, estivi ed invernali, eccezionali. Tuo figlio sarà sempre alla moda e potrà muoversi in totale comodità.

Reply

iphone os4
iphone os4
7/23/2011 8:48:19 PM #

Una pagina sarà dedicata agli accessori, una alle giacche e ai giubbotti. Troverai le indicazioni per lo spaccio o negozio Moncler più vicino a casa tua e tutte le offerte più vantaggiose di questo prestigioso marchio.

Reply

Add comment

biuquote
  • Comment
  • Preview
Loading

Rel=Me

Month List

RecentComments

Comment RSS