I did a little more research into this observation (that using -dcl:none and -dcl:high (or low, or no switch) all produces the exact same size output files (msi and related external cab files)). Since these experments were in part prompted by reading Bob's blog and the dev's discussions (http://www.joyofsetup.com/2014/10/19/cabinet-compression-testing/) , rather than trying to see if I could get some compression with some other tool, I made a copy of one of my MSI projects which has this behavior, and I modified the HeatDirectory task to harvest my Wix3 folder (similar to what Bob used) In this folder I have archived downloads of binaries, source, and pdbs for multiple drops of Wix 3.7, 3.8 and 3.9. It also has the full source tree of the latest 3.9 expanded and built as a debug build of wix.
So after harvesting these files and adding them to my project, both the debug build (with -dcl:none) and the Release build (with -dcl:high) produce exactly the same output. I enabled verbose logging, pedantic warnings, and MSBuild Diagnostics logging, but did not glean anything useful from those builds. The light command line shows -dcl:none for one build and -dcl:high for the other build, but both the msi packages and each of the 13 (almost 100meg) cab files are exactly the same size for each build. I then removed <ReuseCabinetCache>True</ReuseCabinetCache> but the file size results of rebuilding did not change. My burn driven setups are much smaller than this test and seem to be downloadable from a web site successfully. I started by investigating the compression level as a why to optimize for web-deployment, but I am now baffled as to why the size of the output never changes when I change the -dcl (or use MediaTemplate/@CompresionLevel). I read somewhere that CompressionLevel was not working with MediaTemplate. Is that the issue here? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Compression-Level-tp7597566p7597639.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