Updates Rollback is workingAnswered

We are using the wyBuild in our product to automatically distribute updates. 

The updates rollback is not functioning properly,  rollback works in some scenarios but we are not able to figure out when it works.

The wyUpdate is integrated in a .NET app using the AutomaticUpdater under Windows Service and depending on the wyUpdate command line options to build updates.

Configured an exe to execute after update and Rollback on non-zero exit code. Verified that the exe throws error and returns 1. AutomaticUpdater also fires OnUpdatesInstallationFailed but the rollback did not trigger and updates are still present in the programs folder.

wyBuild version is 2.6.18.4

The Rollback functionality is important for the product and it should work always, need help here. 

Sorry for the misleading title, I actually meant Rollback is not working always as expected.

Answer

Disable the “catch-all” update, and the rollback will remove all files.