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 protected]> 寫道﹕

寄件人: Stephen J. Butler <[email protected]>
主題: Re: checking if an app installed
收件人: "Angelo Chen" <[email protected]>
副本(CC): [email protected]
日期: 2010年6月24日,星期四,上午8:55

On Wed, Jun 23, 2010 at 7:48 PM, Angelo Chen <[email protected]> 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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to