Consultor Eletrônico



Kbase 21646: Webclient-Cab files grow when newer version is generated
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/16/2008
Status: Unverified

GOAL:

Why do Webclient .cab files keep growing in size?

FIX:

When generating cab files with the option - "New Version", the size of cab files directory (Mainly the "diff" directory) will grow.

Because the Intellistream doesn't know what version of the application the user is going to install, it has to keep all of the changes that have been made over all of the versions.

For example:

We have versions 1,2 and 3 of an application. Client A, b and c install the application initially at version 1. Version 2 is made and put up for downloading. Client A and B log in and decide they want (or are forced) to download the update. They don't want to have to download and install the whole application again, just the updates. For this reason the generation utility produces a directory with the differences (on a per component basis) and these are what are downloaded.

Client C doesn't login for a while. Version 3 is made and put up for download. This needs to cater for the fact that Client A and B are on version 2 yet client C is still on version 1. For this reason, the differences are made again and would be called something like Main2to3.cab, etc. Also in the differences directory (to allow for client C on version 1) there would be the differences between version 1 and version 2 (you need to make sure that you are on version 2 before going to 3). So when client C logs in again and is updated, the installer first updates him/her to version 2 and then to version 3.

If ALL previous versions are acceptable-to-run, then the Application
Assembler has to create a Delta Cab file for EVERY version. This is why The cab files will grow specifically the "diff" folder which houses the differences made in the version.

Note: By making older versions obsolete, the size of the cab files will be reduced. You should make sure that all clients have all the versions downloaded prior to making older versions obsolete.