Failure is inevitable


WiX Snippet: Creating a scheduled task

(Whoa, my goal was to hit three posts by the end of the week, but I've already hit three today!  Now taking bets on how long until I get bored...) A fair bit of my days involve some sort of agonizing over WiX.  That's because I maintain the installers for my employer's product, which is broken up into three separate logical tiers.  Each tier has its own installer, and none of them are simple.  Two of them involve installing web applications, and the third installs/updates SQL Server databases and installs SQL CLR modules.  As I may have hinted at in previous posts, Wi... [More]

WiX PermissionEx problem solved

In my previous post, I discussed how I was having difficulty getting a WiX-built MSI installer to correctly assign permissions for the Internet guest account to a folder on both Windows Server 2003 and Windows Server 2008.  The thing about WiX/MSI is that if you keep hammering at it long enough, you can usually find a solution (even if it is ugly and convoluted).  That proved true again today (for better or for worse). My solution uses two properties (one to store the account name, the other the domain), and two sets of custom actions to correctly populate the properties based on th... [More]

Cross-platform WiX installer woes

For the past couple of days, I've been trying to upgrade a "simple" WiX installer to work with Windows Server 2008 (note that the installer works fine on Windows Server 2003).  This has proven to be an exercise in PAIN, and here's why. What's changed? Well, lots.  First, IIS was completely rewritten between Windows Server 2003 and Windows Server 2008.  Out of the box, WiX cannot perform any tasks on IIS 7; you have to enable the legacy IIS 6 metabase stuff first.  That's easy enough to do, just follow the steps listed here. That's just the tip of the iceberg th... [More]

... And We're Live!

I think I have things around here more-or-less how I want them.  I'll be spending the next good while trying to get in the habbit of blogging regularly, and I'm sure I'll be tweaking things as I figure out what this BlogEngine.NET thing is all about.  Good times! So my plan right now is to blog at least three days a week, starting tomorrow.  If all goes well, you'll see a (meaningful) post from my on Mondays, Wednesday, and Fridays.  I'll try to stay focused on development-related things.  With something like 5 active projects right now, it sho... [More]

Stay tuned...

This blog is a work-in-progress.  It should be up with some real content soon.