Thoughts about setup and deployment issues, WiX, XNA, the .NET Framework and Visual Studio
All postings are provided AS IS
with no warranties, and confer no rights. Additionally, views expressed
herein are my own and not those of my employer, Microsoft.
I have previously posted an article and a follow-up blog post describing how to use WiX to build MSI packages for Windows Media Center applications. I decided it would also be helpful to show a more concrete example of a setup package for a real Windows Media Center application, so I created a WiX source (WXS) file and a build script that can be used to create an installer for the Q Media Center Podcast and Videoblog Client sample application that ships as part of the Windows Media Center SDK for Windows Vista.
I have posted a ZIP file at this location that contains the WXS file, a set of setup UI strings and a build script batch file that can be used to build an installer for the Q sample application. The WXS file for Q (also available separately at this location) is fully annotated to describe what each part of the MSI is designed to do, and I encourage you to read those comments to get a better sense of how this installer functions behind the scenes.
You can use the following steps to build an installer for the Q sample application on your own system using the setup files that I created:
Now you can run Q_Podcast_Client.msi to install the application on a Windows Vista Home Premium or Ultimate system.
There are a couple of important notes to keep in mind when using these sample setup files:
There is also an advanced technique you can use in the Visual Studio IDE to automatically build the MSI each time you recompile the Q binaries. You can use the following steps to configure a post-build event in the Q project that will run build_q.bat each time you compile the project:
After adding build_q.bat as a post-build event and rebuilding the project in the Visual Studio IDE, you will see Q_Podcast_Client.msi created in %programfiles%\Microsoft SDKs\Windows Media Center\v5.0\Samples\Windows Media Center Presentation Layer Samples\Q\bin\release on your system.
Hopefully you will find this real world example useful as you work on creating and deploying Windows Media Center applications for Windows Vista. As always, please let me know if you have any questions or run into trouble getting the above steps to work correctly on your system.
The Windows Media Center SDK for Windows Vista was released yesterday. One of the changes that was made
I previously posted an example of how to use WiX to build an MSI-based installer for a Windows Media
Question: I have written a Windows Media Center application, and now I want to create an MSI-based installer
Recently, I was helping a friend test an installer for a Windows Vista Media Center application and ran
I haven't been keeping up with the Media Center Sandbox forums as well as I would like to lately, and
Recently, I noticed this post on the Big Screen Blog where Niall Ginsbourg talks about some changes he