Tuesday, July 7, 2009

Wix v3 Component Reference

If you're like me and you're doing websites with lots of images that you need to package up in an install, you realize that this becomes a daunting task in Wix, even if you use heat to generate the wxs file for you. The problem with heat is that it does not create the component refs that you need for the features and when you have to do this by hand, it is a complete pain! I ran into this on a project of mine recently and after the first 78 copy/paste operations, I decided that this should be automated...so the Wix Component Ref Generator was born.

The Wix Component Ref Generator is a basic .NET 2.0 WinForms program that takes the xml that was generated by heat and allows you to create a list of Component Refs that you can add to your features. I will post the source for anyone who wants to user/modify it.


No comments:

Post a Comment