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.
A little while back, I posted a set of instructions for converting the setup project for the Q podcast sample application that is a part of the Windows Media Center SDK for Windows Vista to use WiX v3.0 and the Votive add-in for Visual Studio 2005.
I decided to use those instructions to create updated setup files for the Z sample application as well. The following sets of steps will allow you to use WiX v3.0 and Votive to build an installer for the Z sample application that is included in the Windows Media Center SDK for Windows Vista.
Building an MSI for Z by calling WiX tools directly
The following steps can be used to build an MSI for the Z sample application from Visual C# 2005 Express Edition or Visual Studio 2005 by adding a post-build step that executes a batch file that will call the WiX compiler (candle.exe) and linker (light.exe):
The above steps will produce an MSI named Z_Sample_Application.msi in %programfiles%\Microsoft SDKs\Windows Media Center\v5.0\Samples\Windows Media Center Presentation Layer Samples\Z\bin\release (or \bin\debug\ for the Debug version of the Z application).
Building an MSI for Z using Votive
The following steps can be used to build an MSI for the Z sample application directly from Visual Studio 2005 using the Votive WiX add-in. Visual Studio 2005 Express Editions do not support installing add-ins, so Votive (like all Visual Studio add-ins) requires Visual Studio 2005 Standard Edition or higher.
The above steps will produce an MSI named Z_Sample_Application.msi in %programfiles%\Microsoft SDKs\Windows Media Center\v5.0\Samples\Windows Media Center Presentation Layer Samples\Z\ZWiXv3\bin\release (or \bin\debug\ for the Debug version of the Z application).
Hopefully, the sample WiX v3.0 files for both Q and Z will be included in a future version of the Windows Media Center SDK.
I previoulsly posted an introduction to a new open source Media Center Markup Language (MCML) user interface
In the past, I've posted examples (such as this and this ) demonstrating how to create installers for
In the past, I've posted examples (such as this and this ) demonstrating how to create installers