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.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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/ (WayBack) (16.06.2014: removed direct broken link, leaving the base url. And 21.03.2023 adding link to wayback-archived version):
"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: