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

Reply via email to