Hot to setup for a shared helper application

Asked by Micah Walter

Hi,
Here is my scenario: I have a couple of plugins for a couple of applications which both use a single helper cocoa app.

Plugin A is a cocoa bundle, Plugin B is a folder full of scripts. These each get loaded into a specific folder on the user's file system. The helper app goes in the user's Applications folder and gets run after the plugin finishes.

Currently I use the standard OS X Package Maker to install these as two separate installs ( one for Plugin A, and one for Plugin B) They each install the helper app.... If you install them both on the same machine, Package Maker seems to be able to handle this, and you wind up with a single helper app in the apps folder...

I'd like to add sparkle to the mix for doing updates... and was thinking it should go in the helper application... but it would need to run the Package Maker installer to update the plugins...

Will this work? How will it know which installer to run? Is there any docs for setting this up?

many thanks
micah

Question information

Language:
English Edit question
Status:
Answered
For:
Sparkle Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Andy Matuschak (andymatuschak) said :
#1

Yes, it should go into the helper app, but this is tricky. You'll have to use a package .dist to conditionally install each plugin's update only if it's already installed (using locator).

You can use packages with Sparkle by simply zipping up a .pkg with the same name as the host app.

Can you help with this problem?

Provide an answer of your own, or ask Micah Walter for more information if necessary.

To post a message you must log in.