I dont think need a batch files to do what you need to do.
I think we presenting you 2 options.
I hope Im not confusing you when Im trying to help x.x
so here is another option.
Lets say you want to install “Avengers vs Justice League” and it requires “C++ 2008 Distro Driver”
you can create a task using the deployment Wizard that will create the “Avengers vs Justice League” and go thru the process again to create another task for “C++ 2008 Distro Driver”
Now go into the “C++ 2008 Distro Driver” and add an additional relevance line to it
on you relevance you can do 2 things. one check for a file in a directory or look at teh registry. what I first posted was looking at the registry.
This relevance will filter in those systems whose condition is true.
do the same thing with the other task “Avengers vs Justice League”
then add them both in a Baseline and that one when you send the request the systems that meet the criteria will push.
As per if you need to send a report you can go base in the relevance built and see what systems show.
I hope this helps and clarifies things more.