wyUpdate deleting folder content

I've been using wyUpdate for a few months and it works fine. I use it to update headless client/server software (.NET console application running as Scheduled Task, under SYSTEM account). No user interaction, spread across VMs, mostly Windows Server 2012r2/2016.

Today however, things went different. The first (always delta) update went just fine, however when running a second one, wyUpdate deleted the entire content of the application folder except itself and the settings file. I get that wyUpdate deletes anything that used to be in the installer, but isn't anymore, however that wasn't the case now. I re-uploaded the exact same update through wyBuild, and manually copied the files and restarted the application. Everything was fine then.

I really need to know how and why this happened, because as we will be rolling the application out onto more clients, manually re-copying everything everywhere will be a very expensive and time-consuming operation.

Thanks in advance.

More information is needed. My guess is that you're misunderstanding how wyBuild compares files and generates patches: https://wyday.com/wybuild/help/faq.php#how-it-works

What info do you need? I've been using this method for months, same pattern:

> Make a new folder for the release> Copy all files from the previous release into this folder> Overwrite changed files into this folder (usually just the .exe)> Generate update> Deploy

That's it.

A way to reproduce what you're seeing. wyUpdate doesn't do things unless you tell it to do things: https://wyday.com/wybuild/help/faq.php#how-it-works

So, the information we need is a way to reproduce wyUpdate *not* doing what you told it to do.

I'm aware of the methodologies as I've explained, and they've been working fine so far. I have the exact same folder ready, but when recreating and publishing the same update it works fine. Nothing changed file-wise.

So I'm guessing bug, and can't recreate. Is it possible something got borked during upload to FTP, or during the download client side? Can't deletion be disabled?

Any followup on this? Using wyUpdate is currently on hold because of this, and I don't want to cancel our licenses. But I'm going to need a bit more than 'rtfm'.

I'll outline the process again:

> I use a folder per update, with all files included in each of them> When I prepare a new update, I copy the previous folder and overwrite the new files (in this case the main .exe)> In wyBuilder I create a new version, drag and drop the files from the latest folder to the program folder, generate the update and then upload it through FTP to the server from which wyUpdate pulls it - no other settings> In this case, wyUpdate deleted the entire content of the application folder except itself> When uploading the same update again, it went fine - using the exact same folder (which had all the files in it) and no config changes in wyBuilder> This leads me to believe that something went wrong during the upload and/or download phase, making wyUpdate think there are no more files> Could you please think about this process and let me know if anything comes to mind?> Is there a way to prevent wyUpdate from deleting files (especially when it thinks it's getting the order to delete everything)

"> In this case, wyUpdate deleted the entire content of the application folder except itself"

If you can reproduce this it would be helpful. We cannot.

>> "> This leads me to believe that something went wrong during the upload and/or download phase, making wyUpdate think there are no more files"

We cannot reproduce that behavior either. Also, if you're signing your updates then an incorrect or malformed update will be rejected before it's ever extracted.

>> "> Is there a way to prevent wyUpdate from deleting files (especially when it thinks it's getting the order to delete everything)"No, there's no way to broadly stop actions.