Re: How can I check in cocoa code that particular application is installed in MAC or not
by Michael Ash <mike@[EMAIL PROTECTED]
>
Aug 6, 2007 at 08:19 AM
prerit.kapadia@[EMAIL PROTECTED]
wrote:
> I am developing an application in cocoa I need to check whether
> a particular application is installed in MAC or not ? How can I do
> that ?
> How MAC os finds that out?
> Is there anything like registry in MAC like we have in Windows
MAC is an abbreviation, generally in the computer world it stands for
Media Access Controller. Given where you posted this message and its
contetns, I assume you mean a "Mac".
Both LaunchServices and Spotlight will let you find an application by its
bundle ID. If you can find it on the HD then it's installed, if you can't
then it's not.
--
Michael Ash
Rogue Amoeba Software