I search the web and have the impression that msi installer doesn't compress well.
So I want to know why strawberry perl's msi installer much smaller than the zip version.
I search the web and have the impression that msi installer doesn't compress well.
So I want to know why strawberry perl's msi installer much smaller than the zip version.
The answer is due to Windows Installer XML Smart Cabbing. Take a look at the MSI in ORCA. Look at the file table and sort by FileSize. You'll notice there are a bunch of file names that are slightly different and yet the same size. If you extract or install the MSI or ZIP and use a difference tool you'll see they are binary identical. WiX is smart enough to create checksums of all the files in the installer and normalize them when creating the CAB. Zip does not do this. Instead each EXE gets minimal compression due to it's binary data and as a result it's not as efficient as MSI despite the fact that MSI compression is not as good as ZIP.