The Update Build Engine process actions sequentially and in stages. Building a custom action that participates with the build engine simply requires you to override the virtual methods on the abstract UpdateAction class. To perform prep work during the prepare stage, override the Prepare method within your custom class. The methods that can be overridden are:
• Prepare
• Execute
• Cleanup
• RollbackExecute
• RollbackPrepare