I'm trying to automate the creation of XSN file and MSI file from Visual Studio sources with BATCH file.
the XSN file is generated (through MakeCab) but is smaller than the file generated with Infopath itself from the same sources (205 kb against 208 kb).
Extracting the XSN files gives the same result.
the generated file (with MakeCab) brings an error when trying to create MSI through RegForm but not the file generated with infopath.
For MakeCab, I use ddf-file with the syntax :
.OPTION EXPLICIT
.Set CabinetNameTemplate=myfile.xsn
.Set CompressionType=MSZIP
.Set UniqueFiles=Off
.Set Cabinet=On
.Set Compress=on
.Set DiskDirectory1=mydirectory
any idea?
thanks
Infopath 2003 SP1
visual studio 2003 - framework 1.1