Should this be a separate class that could be used by multiple apps?  

We have code similar to this in wesay/src/WeSay.App/WeSayApp.cs
In chorus/src/Chorus/Program.cs, there is a XULRunnerLocator.GetXULRunnerLocation(), but I am not sure where that is defined...