Re: checking if an app installed
Re: checking if an app installed
- Subject: Re: checking if an app installed
- From: Angelo Chen <email@hidden>
- Date: Thu, 24 Jun 2010 09:38:48 +0800 (HKT)
Hi,
Thanks for the fast reply, this works very well, now I'd like to check if certain plugin for Quicktime got installed too, is there a similar service? i tried following and it returns nil:
NSURL * bURL = [[NSWorkspace sharedWorkspace] URLForApplicationWithBundleIdentifier:@"com.apple.AppleIntermediateCodec"];
Thanks.
--- 2010年6月24日 星期四,Stephen J. Butler <email@hidden> 寫道﹕
寄件人: Stephen J. Butler <email@hidden>
主題: Re: checking if an app installed
收件人: "Angelo Chen" <email@hidden>
副本(CC): email@hidden
日期: 2010年6月24日,星期四,上午8:55
On Wed, Jun 23, 2010 at 7:48 PM, Angelo Chen <email@hidden> wrote:
> Hi,
> Is there a way to check if a certain application is installed? say if iMovie is installed? thanks,
Three ways:
-[NSWorkspace absolutePathForAppBundleWithIdentifier:] (10.3)
-[NSWorkspace fullPathForApplication:] (10.0)
-[NSWorkspace URLForApplicationWithBundleIdentifier:] (10.6)
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden