First get GSpot from here..
www.headbands.com/gspot/
Install it. Open GSpot and go to File/Open .. navigate to the file you want to play.. it will tell you what codecs you need to play it.
Get a codec pack from here..
http://www.divx-digest.com/software/acemega_codec.html
You only need to install the codecs you need from the pack, they will be listed.
Alternatively you could get VLC player which plays most things, get it here..
www.videolan.org/vlc/