Problems creating CAB files - InfoPath Dev
in

InfoPath Dev

Problems creating CAB files

Last post 03-20-2007 12:43 AM by ekzarov. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 03-13-2007 08:18 AM

    Problems creating CAB files

    Infopath 2007, MOSS 2007
    I have a form template c:\MyTemplate1.xsn, wich I have published as browser-enabled content type to server "http://localhost", and published form is in "c:\PublishedTemplates\MyTemplate1.xsn".
    Then I rename "c:\PublishedTemplates\MyTemplate1.xsn" to "c:\PublishedTemplates\MyTemplate1.xsn.zip" and open it with WinRar 3.50. I create CAB file in c:\PublishedTemplates\MyCabFile\MyTemplate1.xsn.zip wich contains all files from "c:\PublishedTemplates\MyTemplate1.xsn.zip" by helping makecab.exe. The problem is that Packet Size of "c:\PublishedTemplates\MyTemplate1.xsn.zip" is 29958, but Packet Size of "c:\PublishedTemplates\MyCabFile\MyTemplate1.xsn.zip" is 29932!!!
    Does Infopath create some header or something when it save or published files ??? Please help... Thanks ...
    Best regards,
    Alexander Ekzarov
    Kyiv, Ukraine
    silverlightnet.blogspot.com
  • 03-15-2007 09:39 AM In reply to

    Re: Problems creating CAB files

    up
    Best regards,
    Alexander Ekzarov
    Kyiv, Ukraine
    silverlightnet.blogspot.com
  • 03-19-2007 04:52 PM In reply to

    Re: Problems creating CAB files

    Hi Alexander,

    Are you actually seeing a problem or just concerned about the filesize differences? We have run across this ourselves because we do a lot of uncabbing and recabbing with the CabDotNet library. Apparently InfoPath uses a less effecient compression algorithm to make a CAB file and this is why the package will be a different size. There is no extra header for an XSN - it is exactly the format of a CAB file and can be decompressed by anything that has that ability (i.e. WinRar).

    Hope this helps!
    Matt Faus / Microsoft InfoPath MVP
    Qdabra® Software / Streamline data gathering to turn process into knowledge
  • 03-20-2007 12:43 AM In reply to

    Re: Problems creating CAB files

    Hi, Matt. Thanks for answering. Can you tell me, where can I find this CabDotNet library ???
    Best regards,
    Alexander Ekzarov
    Kyiv, Ukraine
    silverlightnet.blogspot.com
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.