Re: open package installer in bundle resources directory not working
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