Registering VLC for use with "Default Programs" in Windows
Posted: 13 Dec 2009 20:46
Hi,
After reinstalling my computer (Win 7 x64) I got a little bit tiered to remove each single default file association of windows media player manually. So I started looking for a way to set VLC as default player in the default programs options dialog and finally the appropriate documentationfor the required registry settings at http://msdn.microsoft.com/en-us/library ... S.85).aspx .
Actually only few a registry keys to be added:
Some file types like .mp3 are missing because VLC did not create the required settings in HKEY_LOCAL_MACHINE\SOFTWARE\Classes and I did not want to add them manually. Furthermore the key HKEY_LOCAL_MACHINE\SOFTWARE\VideoLAN\VLC\shell\open\command as mentioned in the documentation was not needed (or windows did not seem to care that it was missing ) because in the file type (e.g. VLC.asf) settings the execution and parameters were already specified.
Using a 64bit Windows to import the settings manually ”HKEY_LOCAL_MACHINE\SOFTWARE\” has to be replaced with “HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\” . During installation this should not be a problem because windows should automatically remap the 32bit application to the appropriate path.
After reinstalling my computer (Win 7 x64) I got a little bit tiered to remove each single default file association of windows media player manually. So I started looking for a way to set VLC as default player in the default programs options dialog and finally the appropriate documentationfor the required registry settings at http://msdn.microsoft.com/en-us/library ... S.85).aspx .
Actually only few a registry keys to be added:
Code: Select all
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\RegisteredApplications]
"VLC media player"="SOFTWARE\\VideoLAN\\VLC\\Capabilities"
[HKEY_LOCAL_MACHINE\SOFTWARE\VideoLAN\VLC\Capabilities]
"ApplicationDescription"="[DESCRIPTION WHICH IS SHOWN IN THE DEFAULT PROGRAMS DIALOG]"
[HKEY_LOCAL_MACHINE\SOFTWARE\VideoLAN\VLC\Capabilities\FileAssociations]
".asf"="VLC.asf"
".asx"="VLC.asx"
".avi"="VLC.avi"
".bin"="VLC.bin"
".cue"="VLC.cue"
".divx"="VLC.divx"
".dv"="VLC.dv"
".flv"="VLC.flv"
".gxf"="VLC.gxf"
".ifo"="VLC.ifo"
".m1v"="VLC.m1v"
".m2ts"="VLC.m2ts"
".m2v"="VLC.m2v"
".m3u"="VLC.m3u"
".m4v"="VLC.m4v"
".mkv"="VLC.mkv"
".mov"="VLC.mov"
".mp4"="VLC.mp4"
".mpeg"="VLC.mpeg"
".mpeg1"="VLC.mpeg1"
".mpeg2"="VLC.mpeg2"
".mpeg4"="VLC.mpeg4"
".mpg"="VLC.mpg"
".mts"="VLC.mts"
".mxf"="VLC.mxf"
".nuv"="VLC.nuv"
".ogg"="VLC.ogg"
".ogm"="VLC.ogm"
".ogv"="VLC.ogv"
".ogx"="VLC.ogx"
".pls"="VLC.pls"
".rmvb"="VLC.rmvb"
".ts"="VLC.ts"
".vlc"="VLC.vlc"
".vob"="VLC.vob"
".wmv"="VLC.wmv"
".xspf"="VLC.xspf"
Using a 64bit Windows to import the settings manually ”HKEY_LOCAL_MACHINE\SOFTWARE\” has to be replaced with “HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\” . During installation this should not be a problem because windows should automatically remap the 32bit application to the appropriate path.