It is a real pain to deploy my InfoPath 2007 Forms from the designer into our development environment's SharePoint server. All of our forms require "full trust" since they include business logic written in C#. Here are the manual steps:
1) Run the "Publish Form" wizard in InfoPath, specifying the target site to publish to and location to save the xsn file.
2) De-activate the existing version of the form from the site collection features (if an older version exists).
3) Log into Central Admin on the development server. Navigate to Application Management -> Manage Form Templates and upload the xsn file.
4) Activate the form as a site collection feature.
Does anyone have an idea how this can be automated? Maybe via stsadm?