I'm a programmer about to deploy a Mac OS X application.
What is the best way for me to detect on a Mac OS X box
that a particular application is installed?
Suppose I want to see if the user has Little Snitch.
My feeling is that checking for the existence of
"Little Snitch Configuration.app" in the /Applications directory
is not the best way.
My feeling is also that using an NSTask to call
"system_profiler -detailLevel full" and then parsing
the list of applications is also not optimal.
Thank you.
Frank
What is the best way for me to detect on a Mac OS X box
that a particular application is installed?
Suppose I want to see if the user has Little Snitch.
My feeling is that checking for the existence of
"Little Snitch Configuration.app" in the /Applications directory
is not the best way.
My feeling is also that using an NSTask to call
"system_profiler -detailLevel full" and then parsing
the list of applications is also not optimal.
Thank you.
Frank