Is there a way to do this?

I want to deploy a .EXE file, but ONLY if a certain "text" file (XML
actually) contains a specific string.

But I don't see anything in the availability section that seems to do
this.