Re: Launch with bundle fails the first time
Re: Launch with bundle fails the first time
- Subject: Re: Launch with bundle fails the first time
- From: Sherm Pendley <email@hidden>
- Date: Fri, 8 Dec 2006 05:34:16 -0500
On Dec 8, 2006, at 4:34 AM, Trygve Inda wrote:
I am trying to use:
[[NSWorkspace sharedWorkspace]
launchAppWithBundleIdentifier:@"com.mycompany.myproduct" options:nil
additionalEventParamDescriptor:nil launchIdentifier:nil];
To launch a subapp that is embedded in my superapp's bundle.
This works fine in 99.9% of cases, but when the superapp is first
installed
on a machine, it fails presumably because the subapp has not been
registered
somehow with Launch Services.
Have you tried launching your subapp with -launchApplication:?
sherm--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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