You are reading the old blog! This post has been moved to http://www.ohadsoft.com/2013/06/mce-launcher-configure-which-programs-are-launched-when-mce-buttons-are-pressed/
I’ve been using XBMC for some time as my HTPC driver. Having an MCE remote though, its buttons are configured to run Windows Media Center. I ran into the following blog post that offers a way to change this, but I didn’t like the implementation:
- It replaces the wrong file (ehshell.exe instead of ehtray.exe) which caused me some issues
- It uses hard-coded locations and is specific to XBMC
- The code is not green in Resharper 🙂
So I took the code and generalized it to a small program that lets you configure exactly which program will be launched by which MCE button. The result: MCE Launcher (see the Readme file for installation and configuration).