Client.wyc is getting deleted

Hi,

I am seeing the strange behavior i.e.

Sometimes "client.wyc" file is getting deleted after applying the patch.

When this is happening i.eI am making the patch between "Release 1" and "Release 2". In "Release 1" i have added "client.wyc" as part of the patch but i have not added "client.wyc" in "Release 2". Sometimes after applying the "Release 2" client.wyc is getting deleted sometimes its not.

But in both the cases patch is getting applied successfully.

Am i doing something wrong?

As per my understanding it is not mandatory to add "client.wyc" in Release 2.

RegardsMathews

The problem is you're removing the client.wyc file from Release 2. This means you're telling wyUpdate to remove the client.wyc when Release 2 is installed. I guess we should make wyBuild smarter about detecting this behavior (right now it's letting you shoot yourself in the foot).

Here's a description of how wyBuild compares versions: https://wyday.com/wybuild/help/faq.php#how-it-works

Long story short: either don't add client.wyc to any of the releases, or make sure the latest release always has the client.wyc file.

Thanks for replying.

I have observe one more strange behavior i.e. Even If i am adding the "client.wyc" for "Release 2" patch with Version as "Release 2". Even then the patch is failing it is giving the reason that client.wyc is modified. (if i have not selected catch all)But if i am adding "client.wyc" for "Release 2" patch with Version as "Release 1" then patch apply successfully.

This is expected behavior?

Thanks in advance.

RegardsMathews

Make sure you're putting the client.wyc win the "Your program's folder". If you put it in that folder then it is treated intelligently. If you put it anywhere else wyBuild will treat it like any other file.