I use WiX3 to generate MSI installation package. I have specified comression flag on in both the <Package> and <Media> elements:
<Package InstallerVersion='200' Compressed='yes'/> <Media Id='1' Cabinet='MySetup.cab' EmbedCab='yes' CompressionLevel='high' />
but the resulting MSI is not compressed at all – WinZip compressed it from 2M down to 600K.
Am I missing something?
I am using VS2008 btw.
There is something missing in your question. But how do you know it is not compressed. If Winzip can compress it further, it does not always mean it is not compressed. You can use 7-zip to investigate the resulting msi file. There should be a cab inside, extract it, and look at the size before and after decompressing.