Is there a solution to publishing without the wizard? I wrote an new post earlier today:
I have a custom infopath form for the document information panel in Word. It has nothing to do with SharePoint and is being populated by a web service. The whole project is scripted for deployment. Therefore, I do not want to right-click --> deploy. I have not found a way to automate this. All I need is a way to publish to a local drive without using the wizard.
An idea: here is a blurb from a blog post. If anyone has any specific direction on how to do this, this may work:
The InfoPath design mode doesn't support automation. However, "publishing" is really just an operation which sets some properties in the XSF file (within the template XSN) and then copies the XSN to the target location.
(Unless you're publishing to a Windows SharePoint Services Form Library, in which case InfoPath does do some fancy stuff.)
So you should be able to write code which cracks an XSN (just a CAB), sets the appropriate settings in the XSF, re-CABs the XSN, then copies the file to your HTTP location using whatever protocol you want.