Opened on 08/14/2014 at 01:37:20 PM

Closed on 04/13/2015 at 10:55:08 PM

#1229 closed defect (rejected)

MSI compression is suboptimal

Reported by: trev Assignee:
Priority: P3 Milestone:
Module: Adblock-Plus-for-Internet-Explorer Keywords: installer
Cc: eric@adblockplus.org, oleksandr Blocked By:
Blocking: Platform: Internet Explorer
Ready: yes Confidential: no
Tester: Verified working: no
Review URL(s):

Description (last modified by trev)

How to reproduce

  1. Download https://downloads.adblockplus.org/adblockplusie-1.2-x64.msi
  2. Note the file size (4.558.848 bytes).
  3. Now compress that file, e.g. via gzip adblockplusie-1.2-x64.msi
  4. Look at the file size of the compressed file.

Observed behaviour

The size of the compressed file is 3.218.239 bytes, roughly 70% of the original size. This indicates that the compression of our MSI file is very suboptimal - if it is compressed at all. These MSI files are being downloaded for updates and end up wasting lots of bandwidth if they aren't compressed properly.

Expected behaviour

The size of the compressed file should only be minimally smaller, if at all. Note that adblockplusie-1.2.exe apparently applies additional compression - gzip almost doesn't compress it, and its size is only minimally larger than the two MSI files after they have been compressed by gzip.

Attachments (0)

Change History (4)

comment:1 Changed on 08/14/2014 at 01:38:23 PM by trev

  • Description modified (diff)

comment:2 Changed on 08/14/2014 at 01:45:08 PM by trev

Additional info: the cab1.cab file inside adblockplusie-1.2-x64.msi (that's the files actually being installed) is merely 2.594.567 bytes and compressed properly. It seems that the package contains 2 MB of additional uncompressed data, not sure what it is.

comment:3 Changed on 08/14/2014 at 02:00:15 PM by trev

  • Platform changed from Unknown to Internet Explorer
  • Ready set

comment:4 Changed on 04/13/2015 at 10:55:08 PM by oleksandr

  • Resolution set to rejected
  • Status changed from new to closed

As of 1.4 the size of adblockplusie-FINAL-x64.msi is 4.820.992 bytes. Of those 1.744.896 bytes are transforms that we need to support multiple languages. 2.768.997 bytes is the size of compressed cab1.cab. That leaves just 307.099 bytes for the MSI itself, which is reasonable, I think.

I assume the reason for suboptimal compression is multiple transforms that we are applying, but there's currently no way around that. So this probably won't fix.

Add Comment

Modify Ticket

Change Properties
Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none).
 
Note: See TracTickets for help on using tickets.