• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Launch bundled application before main application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Prev by Date: Re: Confused about bindings
  • Next by Date: NSAnimation-caused crash
  • Previous by thread: [Moderator] Re: IOPMSchedulePowerEvent - laptop lid closed
  • Next by thread: Re: Launch bundled application before main application
  • Index(es):
    • Date
    • Thread