Launch with bundle fails the first time
Launch with bundle fails the first time
- Subject: Launch with bundle fails the first time
- From: Trygve Inda <email@hidden>
- Date: Fri, 08 Dec 2006 09:34:01 +0000
- Thread-topic: Launch with bundle fails the first time
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. If it matters, superapp is a System Pref Pane
and subapp is a background-only Cocoa and/or Carbon app.
How can I work around this?
Thanks,
Trygve
_______________________________________________
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