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.
This article describes how to create an MSI-based setup package to install project templates, item templates and starter kits for use with Visual Studio. It uses a real-world example to demonstrate key concepts for building a robust, reliable installer package.
Payload included in a project template setup package
The example I have created installs a Visual Basic 2005 project template, a Visual Basic 2005 item template, a Visual Basic 2005 new file item, a Visual C# 2005 project template, a Visual C# 2005 item template and a Visual C# 2005 new file item.
Actions performed in a project template setup package
How to build and run the example project template setup package
You can use the following steps to download, build and run the example project template setup package that I have created:
More details about the design of a project template setup package
There are some important design considerations that have been applied while creating this example project template setup package:
Using the example as a starting point for your own setup package
The file project_template_example.wxs that is included in the example zip file contains detailed comments describing the key features of the setup, and it is designed to help you get started creating your own project template setup package. Here are a couple of key points to keep in mind as you get started creating your own project template setup package:
<update date="5/15/2009"> Fixed broken links to the sample files used in this post. </update>