Correct, it's all due to the compression algorithm :)

We use "mszip" for internal beta builds, "high" for MSI-only releases
for corporate customers (as well as for the 1Mb bootstrap EXE that
later downloads an MSI payload), and finally an LZMA  self-extracting
EXE containing an MSI with compression set to "none" for our standard
downloadable release.

If you're using nant or similar to manage your build process it's
fairly trivial to build multiple times with varying compression.


Sascha



On Mon, Nov 2, 2009 at 2:27 PM, Wesley W. Terpstra <wes...@terpstra.ca> wrote:
> I have an msi package which comes out to 77MB when compression is set
> to "high". Inspecting the msi file shows that the space is almost
> entirely consumed by the contained cab file. If I take the same files
> in that cab file and compress them with 7zip it comes out to 27MB.
> Normally I wouldn't care too much about compression, but when the
> difference is a factor 3* (!!), I take notice. I also tried
> compressing it using tar.bz2, which comes out to around 78MB and
> tar.7z which clocks in at 30MB.
>
> In summary:
> raw data: 320MB
> tar.bz2 78MB
> msi: 77MB
> tar.7z: 30MB
> 7z: 27MB
>
> I know these numbers seem impossibly extreme, but I have triple
> checked them! Generally I don't see such a difference between 7zip and
> bzip2, but for whatever reason these executables love 7zip.
>
> Since the main savings appears to come from the use of 7zip's LZMA
> algorithm (the solid encoding + BCJ only saved 30-27=3MB), I wonder if
> it is possible to use the LZMA algorithm on my msi's cab file? It
> would be a real shame to make users of my installer download 77MB when
> they could be downloading 27 or 30MB instead.
>
> Thanks.
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to