• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: open package installer in bundle resources directory not working
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: open package installer in bundle resources directory not working


  • Subject: Re: open package installer in bundle resources directory not working
  • From: Iceberg-Dev <email@hidden>
  • Date: Sat, 13 Dec 2008 23:28:15 +0100


On Dec 13, 2008, at 12:46 PM, Kyle Sluder wrote:

3) Why all this trouble of launching executables? There's a reason
Launch Services is a public framework; use that. Don't use
-[NSWorkspace openFile:], because that's not guaranteed to open the
package in Installer.app. Instead, use LSOpenURLsWithRole:
http://developer.apple.com/DOCUMENTATION/Carbon/Reference/ LaunchServicesReference/Reference/reference.html#//apple_ref/doc/ uid/TP30000998-CH1g-TPXREF104

Just in case:

I've been using NSWorkspace exactly for this for more than 6 years now.

Still waiting for a report from a user stating it does not open Installer.app but another application...


_______________________________________________

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


  • Follow-Ups:
    • Re: open package installer in bundle resources directory not working
      • From: "Michael Ash" <email@hidden>
References: 
 >open package installer in bundle resources directory not working (From: Denis Bohm <email@hidden>)
 >Re: open package installer in bundle resources directory not working (From: Mark Allan <email@hidden>)
 >Re: open package installer in bundle resources directory not working (From: "Kyle Sluder" <email@hidden>)

  • Prev by Date: Re: Live updating NSPredicateEditorRowTemplate?
  • Next by Date: Re: Encoding a Custom Object which has a CALayer instance Variable (newbie Question)
  • Previous by thread: Re: open package installer in bundle resources directory not working
  • Next by thread: Re: open package installer in bundle resources directory not working
  • Index(es):
    • Date
    • Thread