Hi again,
You can use a URN-based form to dispense with the need for a hardcoded href. Then it will work regardless of where you run it (so long as the InfoPath URN-based form is registered - use regform for that).
Yes, I was saying that just use the command tool or whatever to create the XML that InfoPath loads, or you could create it and use Import. Either way, if there is a problem in the XML you will have problems loading the form, so this is a somewhat brittle approach.
Yes, you will need the mso-application as well as the mso-infoPathSolution PIs.
No need to call NewFromSolution. Just run the form.
Hope this helps.
Patrick Halstead
Project Manager at Qdabra