Here is a cut up version of my inf file. I have it set for Zoom player, but you can easily change it to MPC. All that you would need to change is
"""%16422%\Zoom Player\zplayer.exe"" ""%1"""
to where ever MPC is.
[Version]
Signature="$Windows NT$"
[DefaultInstall]
AddReg=Video
[Video]
;Zoom Player-----------------------------------------------
HKCR, "ZoomPlayer.File", , %REG_SZ%, "Zoomplayer media file"
HKCR, "ZoomPlayer.File\Shell", , %REG_SZ%, "Play"
HKCR, "ZoomPlayer.File\Shell\Play\Command", , %REG_SZ%, """%16422%\Zoom Player\zplayer.exe"" ""%1"""
HKCR, "ZoomPlayer.File\DefaultIcon", , %REG_SZ%, "%16422%\Mega Codec Pack\icons\codecs.ico"
;vcd
HKCR, ".bin", , %REG_SZ%, "ZoomPlayer.File"
;dvd
HKCR, ".ifo", , %REG_SZ%, "ZoomPlayer.File"
HKCR, ".vob", , %REG_SZ%, "ZoomPlayer.File"
;Matroska video
HKCR, ".mka", , %REG_SZ%, "ZoomPlayer.File"
HKCR, ".mkv", , %REG_SZ%, "ZoomPlayer.File"
;MPEG video
HKCR, ".mpg", , %REG_SZ%, "ZoomPlayer.File"
HKCR, ".mpeg", , %REG_SZ%, "ZoomPlayer.File"
HKCR, ".mpe", , %REG_SZ%, "ZoomPlayer.File"
HKCR, ".m1v", , %REG_SZ%, "ZoomPlayer.File"
HKCR, ".m2v", , %REG_SZ%, "ZoomPlayer.File"
HKCR, ".mp2v", , %REG_SZ%, "ZoomPlayer.File"
HKCR, ".mpv2", , %REG_SZ%, "ZoomPlayer.File"
;MPEG4 video
HKCR, ".mp4", , %REG_SZ%, "ZoomPlayer.File"
;OGG Media
HKCR, ".omg", , %REG_SZ%, "ZoomPlayer.File"
;other media
HKCR, ".divx", , %REG_SZ%, "ZoomPlayer.File"
HKCR, ".xvid", , %REG_SZ%, "ZoomPlayer.File"
;playlists
HKCR, ".asx", , %REG_SZ%, "ZoomPlayer.File"
HKCR, ".wax", , %REG_SZ%, "ZoomPlayer.File"
HKCR, ".wmx", , %REG_SZ%, "ZoomPlayer.File"
HKCR, ".wvx", , %REG_SZ%, "ZoomPlayer.File"
HKCR, ".zpl", , %REG_SZ%, "ZoomPlayer.File"
;video
HKCR, ".avi", , %REG_SZ%, "ZoomPlayer.File"
;windows media
HKCR, ".asf", , %REG_SZ%, "ZoomPlayer.File"
HKCR, ".wm", , %REG_SZ%, "ZoomPlayer.File"
HKCR, ".wmv", , %REG_SZ%, "ZoomPlayer.File"
[Strings]
REG_SZ = 0x00000000