August 2008 Entries
I spent few last days at work, trying to create an installer for an application I’ve been working on. There aren’t many free tools to help you with that task: Wix, NSIS or Inno Setup as far as I know. I thought Wix was a reasonable choice. I don’t think that anymore. Wix’s documentation ranges from poor to nonexistent. Many things are done in a very awkward way. And the best (and in many cases only) way to get any help, is the discussion group wix-users. I’ve had my share of wrestling with Wix. Here’s what I learned....
Many people visiting my site (myself included) have stumbled upon this error message: I took some time yesterday and, since Subtext is an open source project, I looked into the code trying to find what’s causing it, and fixed it. I don’t know Subtext’s architecture all that well, so I may have broken something on the way. My error log shows no exceptions (as compared to quite a few a day before the fix), so either people stopped visiting my site, or I fixed it without breaking anything else. If I’m wrong, and you...
How do you test collections for equality of their elements? I often used to write my own custom assert for that, something like: public void AssertCollectionElementsAreEqual<T>(IEnumerable<T> expected, IEnumerable<T> actual)
{
var first = expected.GetEnumerator();
var second = actual.GetEnumerator();
int count = 0;
while(first.MoveNext())
{
if(second.MoveNext())
{
...