I have a similar problem. However, my issue is not in moving the form from a development environment to a production environment. My challenge is to automatically deploy a form library with my form template to a new site within the same site collection.
Because it is the same site collection, using a server-relative location for my ...