How to test whether an application is installed (MacOS)

Thanks Sam.
I will implement your solution then since I am not sure that the Shell-based solution will be MAS-compliant.

I’ll let you know…

Have a good day,
Franck