• 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
Re: More user agent questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More user agent questions


  • Subject: Re: More user agent questions
  • From: Kyle Sluder <email@hidden>
  • Date: Fri, 6 Mar 2009 01:49:34 -0500

On Thu, Mar 5, 2009 at 9:58 PM, Rick Mann <email@hidden> wrote:
> Our product (on the network) periodically updates its own software, and that
> update may include a new version of the Mac software. When the agent checks
> in and sees there's a new version, we'd like it to update ASAP,
> transparently (no user intervention required).

Is this a custom app?  If it's a commercial app, then I'd be very
upset to find my app updating itself without my permission.

> Can any running instance (even if it's not for an admin user) shut down and
> relaunch other instances? Can it update launchd configuration as necessary
> for the other users?

Maybe and no, respectively.  To get the shutdown behavior, your agents
would need to check in with each other and whichever performs the
update needs to tell the others to shut down.  A regular user can't
update another user's launchd settings, though.

> If the UI is running, it will present a Sparkle-like dialog to warn the user
> that a new version is available. It may time out after a period of time and
> force the update. Basically, if our product updates its software, it's
> important that the Mac software update as well, otherwise things might break
> (we have no backward-compatibility requirement).

I'm having a hard time figuring out under what circumstances you would
need to force the update.  Since you talk about administrative users,
I'm inclined to think that this is not a custom app, but a commercial
one.  I can imagine the seething rage exploding after the first time
the app forces its own update.

Also, what is this "Mac software" -- actual system software, or your
own software?  Are you saying that you would forcibly restart the
machine after applying the update?  This is a very bad idea.

> How do people deal with their agents running when there are multiple users
> logged in?

IPC.  Maybe have instances check the local port nameserver for other
instances to communicate with.  It's your problem to solve.

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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

  • Follow-Ups:
    • Re: More user agent questions
      • From: Rick Mann <email@hidden>
References: 
 >More user agent questions (From: Rick Mann <email@hidden>)

  • Prev by Date: Re: CoreData, SyncServices & NSURL ...
  • Next by Date: Re: NSTask - Notification and Threads
  • Previous by thread: More user agent questions
  • Next by thread: Re: More user agent questions
  • Index(es):
    • Date
    • Thread