I have a TFS build definition.

I want to perform two steps / task that are performed by two commands, conditionally. Maybe with a variable that I could set when I queued up for the assembly or something like that. Basically I want to start the build and skip some steps / tasks if I want. How can i achieve this? Except for creating a bat file that runs my app.exe and sending a boolean variable to a bat script that will execute or not use app.exe.
source share