build a template.xsn from extern

M

maor110

Hello.

Is there a way to deploy a template.xsn from his sourcefiles without
starting infopath?

(I need to edit and deploy my .xsn and .xml sourcefiles out of another
programm (VB6))

Thanks in advance,
Paul
 
G

G. Tarazi

We are already doing that, but using a C# code, here is the idea.



Lunch an external process to Cab Extract command of Windows, to extract the
xsn file in a folder (the xsn file is a cab file).



Load the manifest file in an xml data document object.



Rename the path.



Do other work (if you like).



Save the results.



Lunch an external process to the Cab command of Windows, to compress the
files to a cab file and rename it to xsn



Done.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top