I can extract a MSI file, but when I try to regenerate it from the extracted files the resulting file doesn't work.
I guess that if I changed the compression method from Deflate
to another one, it would work.
First of all: there is a script in the Windows Installer SDK called WiMakCab.vbs which is used to create *.cab files for use in MSI files. One of the lines in that script is: Dim compressType : compressType = "MSZIP"
). You should probably try that script when creating the cabs.
Below is an annotated quote from http://www.gdgsoft.com/ (16.06.2014: removed direct broken link, leaving the base url):
"Microsoft Cabinet supports three lossless compression techniques: (1) storing , (2) MSZip, and (3) LZX. Within a cabinet archive file, any combination of these techniques may be used. MSZip is essentially the same as the deflation compression method used by PKZip. LZX is an LZ77-based compression technique that uses static Huffman encoding. LZX uses more memory, but can produce better compression ratios than MSZip. Stored, of course, means the file is stored into the cabinet uncompressed."
MSDN info: Microsoft Cabinet SDK and Microsoft Cabinet Format.
Some Links:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With