Patch preconditions

Hi all,

once in a while I will need to change the database scheme for my app. Hence, the next patch will (probably) require that this database change has actually been applied. Is there any way to check for this type of preconditions before the patch gets applied?

I could certainly do a little exe that does the check and returns true/false - but how to integrate that into wyBuild?

Thx!

Hey Frank,

You can execute scripts to update the database schema (see: Executing files in your update). As far as checking whether the schema update was successful or not (i.e. reading the return code of the executing file and rolling back the update on unsuccessful executions) we're adding that to wyBuild 2.6.11.

We plan to have 2.6.11 out by the end of this week (or early next week).

I am seriously impressed how you managed to put so much functionality into such a simple-looking GUI.Thx a lot! 😀