Applying all patches

Hi

I'm having a problem with wybuild not applying all patches.

Lets say i've got 3 wyB version. With 1.2 and 1.3 being built after original C# setup build1.1 Adds text1.txt1.2 Adds text2.txt 1.3 Adds text3.txt

I built an C# setup and include wybuild v1.1 client.wyc and wyupdate.exe. This get distributed to all by clients.

Now if a client missed 1.1 and 1.2 wyB updates, and only updates on 1.3 he's only getting text3.txt.

Is there any way I can set to to apply all updates, so that the client will have text1, text2 and text3

Or am I being special?

Regards,HeinrichSouth Africa

Hey Heinrich,

You need to add all the files to wyBuild that constitute a version. See the Step-by-step walkthrough.

So, for your example, in the 1.1 version tab in wyBuild you'll have the following files:

text1.txt

For version 1.2, the following files:

text1.txttext2.txt

For version 1.3, the following files:

text1.txttext2.txttext3.txt

wyBuild does the hard work of actually detecting what has changed between versions and creating the tiny patches.

The way you have it set up now, wyBuild reads version "1.3" as saying delete all the old files from previous versions (i.e. "test1.txt" and "text2.txt" are deleted) and the new "text3.txt" is added. The reason is that in your version "1.3" you only have the "text3.txt" file instead of all your files.

Short answer: include all the files for every version. wyBuild detects the differences. If you do it the way I just described (and descibed in the walkthrough) then wyBuild will have the behavior you expect.

Does this make sense?

Great thanks for the feedback

Short answer: include all the files for every version. wyBuild detects the differences. If you do it the way I just described (and descibed in the walkthrough) then wyBuild will have the behavior you expect.Does this make sense?

That case isnt the updates (for dev to upload and for user to download) is getting bigger and bigger each time there's a new revision ?

No, the update that is downloaded for a user is a patch from the version the user has installed directly to the newest version. In other words, it's as small as small as possible (i.e. just the changes).

The update files the dev using wyBuild has to upload *do* get bigger, but that's just the nature of the tradeoff. That is, the design of our patch system prefers the customers get their patches as fast as possible (a direct patch for every version to the latest version).

That being said, in the near future we'll allow wyBuild customers to build both incremental patches (A->B, B->C, C-D), as well as the current "direct patches" (A->D, B->D, C->D).

Does this make sense?

yeah, that make sense. Thanks.