'Execute' after updating

Hi

In version 1.6 of our program, we had a few files in the update. Say for example, X.bat, Y.exe (not the actual program itself, but an other simple console app) and Z.dll. Y.exe was set to 'Execute' after the updating has finished. Everything went well with the update 1.6.

When I created the update 1.7, there were no need to include X.bat, Y.exe and Z.dll, because they were the same. So I decided to include only the actual program update and an other text file. But since I had to 'Execute' Y.exe after the updating has finished, I included Y.exe (from an other folder location that was different from the 1.6 update) and set it to 'Execute after the udpdating has finished'.

Not just that Y.exe did not 'Execute' after the 1.7 updating has finished, wyUpdate deleted the Z.dll (which was installed during the 1.6 update and not included in 1.7 update). For the issue of Y.exe not executing, I think the problem is with the same name of the file. I tried renaming Y.exe to Y1.exe and then it was working fine. No idea about the deletion of Z.dll though.

Can you please advise?

Not just that Y.exe did not 'Execute' after the 1.7 updating has finished, wyUpdate deleted the Z.dll (which was installed during the 1.6 update and not included in 1.7 update).

In the step-by-step walkthrough we tell you to include every single file for every single version of your software. Let wyBuild compare the versions. It's smart enough to know what's new, what needs to be patches, and what needs to be deleted.

As you have it now, Z.dll is in one release and not in the next. So wyBuild reads this as "they want to delete Z.dll because it's no longer part of their software".

For the issue of Y.exe not executing [...]

The problem here is there's a bug in wyBuild. If an exe file is unchanged from version 1.6 to 1.7 of your app then the file won't be executed. We're fixing this for wyBuild 2.6.15.

In the meantime you can include the Y.exe in the temporary folder and it will be downloaded and executed as part of the update.