Hi,
Hope everything is going well.
1,Per my experience, you can create a collection that only contains the machines with the v22 Application installed. And then deploy the v24 Application to the collection and configured Supersedence over v22. So that the v24 Application will be only updated on the machines with v22 Application installed, and leave the machines without v22 Application installed not touched.
2,We can use WQL Query or CMPivot query to create the collection with a specific Application Installed.
Refer to:
SCCM Collection Based on Installed Application Version
Find Installed Software using SCCM CMPivot
Please note: The links are not from Microsoft, just for your reference.
Feel free to contact me if you have any concerns/queries.
Best regards,
Simon
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.