Depending on the contents of the files you are compressing the gains from 
higher compression are variable.  IE, if you are deploying a bunch of text 
content, then you will have a noticeable difference between no compression and 
high compression.  If on the other hand you are deploying data files that are 
already compressed and/or encrypted, then increasing the compression level 
isn't going to gain you much.

You can observe the behavior outside of Windows Installer using a compression 
application which supports variable compression levels (you should use the same 
algorithm as Windows Installer to get comparable results).

-----Original Message-----
From: Phill Hogland [mailto:phogl...@rimage.com] 
Sent: Wednesday, October 29, 2014 9:58 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Compression Level

I have noticed recent discussion among the devs about Compression level and 
setting the level to -dcl:none for debug and -dcl:high (or some other
setting) for Release builds.  I also read through as many posts about 
compression as I could find in the archives and generally on Google.  I have 
experimented with using -dcl and also with adding CompressionLevel to the 
MediaTemplate.
    <MediaTemplate EmbedCab="no" CabinetTemplate="eds{0}.cab"
CompressionLevel="high" MaximumUncompressedMediaSize="100" />

I did not observe any change in the size of my msi or my external cab file 
(between a debug build and a release build, or any other setting).  I am using 
wix 3.9.1001, on Windows 7 x64 (and also Win 8.1 x64).  I use burn mba to 
install my chain of downloadable mis packages.  Most of the packages are around 
20mb.  This works great (thanks!), but if there is a way to reduce the size of 
the downloads I thought it worth investigating.

Any ideas on why I don't see any change in size when I set a higher compression 
level?

Thanks for the assistance. Phill






--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Compression-Level-tp7597566.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to