We have a large organization (over 12,000 computers/users each) and we are doing OS deployment using Task Sequences. In addition, our computers may be members of various collection to which software packages are deployed. Not all computers are members of the same software collections but they all use the same OSD TS for re-imaging.
What I would like to do, is to deploy the OSD TS to one OSD collection, add computers to that collection to receive the Task Sequence, then also in the TS, have it check to see if the computer is a member of a collection that should also have software of some sort, installed. Now, I know I can add one 'Install Package' line for each package into the TS, referencing the specific software and add the TS Var in the options, but I am hoping to utilize dynamic variables so that whenever a new piece of software is available to members of a new software collection, the OSD TS does not require updating but it will get picked up because the software collection will have a variable defined.
Correct me if I am wrong, but the Prefix001, Prefix002, etc. would be defined on the OSD collection and not the software. I tried the latter and it failed, because it tried to install the software to a system that was not licensed for the product which means ofc, that it tried to install all software that had a variable of the same prefix, defined.

Similar to the above image, ideally the end result would be that all computers that are part of the OSD TS Collection would receive the same TS, however only PC 1, PC 2, PC 4 and PC 7 would have MS office installed during the sequence, PC 3 and PC 4 would get Adobe Reader, and so on. Is this even possible to do dynamically? or am I going to need to do one task per piece of software in my TS?
Kind Regards,
Rath
PS - I don't think I have the right tag, but did not see one for Configuration Manager or Software Deployment