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: Trygve Inda <email@hidden>
- Date: Fri, 08 Dec 2006 11:29:00 +0000
- Thread-topic: Launch with bundle fails the first time
> 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--
Yes, but I lose the ability to add extra parameters:
options:(NSWorkspaceLaunchOptions)options
additionalEventParamDescriptor:(NSAppleEventDescriptor *)descriptor
launchIdentifier:(NSNumber **)identifier
:-(
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