Re: checking if an app installed

2010-06-23 Thread Jens Alfke
On Jun 23, 2010, at 6:38 PM, Angelo Chen wrote: > 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] > UR

Re: checking if an app installed

2010-06-23 Thread Angelo Chen
ifier:@"com.apple.AppleIntermediateCodec"]; Thanks. --- 2010年6月24日 星期四,Stephen J. Butler 寫道﹕ 寄件人: Stephen J. Butler 主題: Re: checking if an app installed 收件人: "Angelo Chen" 副本(CC): Cocoa-dev@lists.apple.com 日期: 2010年6月24日,星期四,上午8:55 On Wed, Jun 23, 2010 at 7:48 PM, Angelo Chen wrote: > Hi,

Re: checking if an app installed

2010-06-23 Thread Stephen J. Butler
On Wed, Jun 23, 2010 at 7:48 PM, Angelo Chen 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