Launch bundled application before main application
Launch bundled application before main application
- Subject: Launch bundled application before main application
- From: Claudio Procida <email@hidden>
- Date: Sun, 19 Nov 2006 18:58:03 +0100
Hi,
I've changed the format in which my application stores its data, so I
decided to bundle a migration utility in the application.
This application should be launched _before_ running the main
application, so NSWorkspace's launchApplication: won't be adequate,
as it would launch the migration utility in parallel.
I've thought of the following workaround:
- In the application's main:
- If the value of a preference is set to 0 then launch the migration
utility, then quit.
- else, launch NSApplicationMain()
the migration utility would launch the main application upon
conclusion of its conversion job.
How would you do this?
TIA
Claudio
--
Claudio Procida
Emeraldion Lodge
http://www.emeraldion.it
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden