Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.



Windows 7: Setting up a Windows Media Center plug-in template

24 Oct 2012   #1

Windows 7 x64
 
 
Setting up a Windows Media Center plug-in template

I am beginning a project which involves writing a plugin for Windows Media Center.

All I want to do at the moment is run the sample project which is included by default in the Windows Media Center SDK. There are instructions to do this included with the project and I have followed these step-by-step.

I am able to run the program within Visual Studio using the Debug feature (just a simple app with four buttons which don't do anything), but I have a problem when trying to create an installer so the program can be installed within Windows Media Center.

The instructions tell me to add this line to the 'Post-build event command line' section of my project:

Code:
"$(ProjectDir)Setup\Build.bat" $(ConfigurationName)
When I go to build my solution (as instructed), I get the following error:

Code:
Error   1   The command "%windir%\eHome\McmlVerifier.exe -verbose
-assemblyredirect:"C:\Users\john\Documents\Visual Studio 2010\Projects\MediaCenterApplication1\MediaCenterApplication1\bin\Release" 
-directory:"C:\Users\john\Documents\Visual Studio 2010\Projects\MediaCenterApplication1\MediaCenterApplication1\Markup"
REM "C:\Users\john\Documents\Visual Studio 2010\Projects\MediaCenterApplication1\MediaCenterApplication1\Setup\Build.cmd" Release
"C:\Users\john\Documents\Visual Studio 2010\Projects\MediaCenterApplication1\MediaCenterApplication1\Setup\Build.bat" Release
" exited with code 9009.    MediaCenterApplication1
I have chosen to write the plugin in C# and this is my setup at the moment:
- Windows 7 Home Premium 64-bit
- Microsoft Visual C# Express 2010
- Windows SDK v6.0
- Windows Media Center SDK v7.1
- WiX Toolset v3.7

Does anyone have any ideas as to what is going wrong? If not, what would be a recommended forum for WMC developers? The forums I have looked at so far all seem to be very quiet.

Thanks in advance.

My System SpecsSystem Spec
.

Reply

 Setting up a Windows Media Center plug-in template





Thread Tools




Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 10:38 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33