on 3/26/06 10:33 AM, Steve Weintraut at [EMAIL PROTECTED] wrote: > My need is merely to provide apps for our Mac-Only internal network > at our company. When I write in RealBasic, I have a routine that > checks with our database server to see if there is a newer version > than what is currently loaded on the users machine and they call our > department to get the newer version loaded for them. > > The problem is that with dozens of users, this gets old fast. > > I was wondering if anyone knew of a way of auto-updating an > application. I would think that somehow the new version would have to > be downloaded to a temp directory, the current version moves itself > to the trash (is that even possible?), and then quits and relaunches > the new version after copying it to the applications folder on OS X > > Sounds kludgy, and somewhat impossible, but I figured it couldn't > hurt to ask.
Our apps call a web service to check for updates. The result of the web service call is a URL to disk image file, the name of the volume when mounted and the installer to run. Each of our applications ships with a update helper application hidden in its bundle to manage the process. When the app detects that an update is available it copies the helper application out to the chewable items folder and runs it from there. The helper application does the download, mounts the disk image, launches the installer, waits for it to finish and then unmounts the disk image and relaunches the app. The installer deals with any authentication issues. Chris _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
