• 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: Updates from Download
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Updates from Download


  • Subject: Re: Updates from Download
  • From: Lee Morgan <email@hidden>
  • Date: Sat, 11 Jun 2005 01:38:19 -0400

On Jun 11, 2005, at 1:20 AM, Lorenzo Puleo wrote:

I am implementing my "Software Update" in my application.

So when there is a new version on my web site, the user can upgrade in a

while. I already done the download task. My dmg file is downloaded to a

given folder. And now?


Should I launch something to mount the disk then replace the old application

with the new one? While the old version is running? How?


I have many doubts. Firs of all, should I download a dmg file or a

uncompressed application file or a sit or a sitx file?


I recommend a zip, Mac OS X has built in support and many users don't understand the concept of disk images. Plus typically zips are smaller than disk images (this is my personal observation, YMMV). 
Personally I would much rather deal with a zip that I can unzip and use rather than a disk image that I have to mount, copy, unmount and then use. Maybe there's good reason to use disk images - I've never found one though.

My main purpose is this: the user says "yes I want the update" so my

application download the new version, quits and when the user relaunch it,

he gets the new version. Do you know please which path should I follow?

Thanks.


I'm working on this in my app. Currently I have it setup to check a xml file on my server for the newest version, if a newer one is available then it downloads it to a temp folder (~/Library/Application Support/My App). It then launches my Updater app and quits. My updater app waits until my app has finished quitting then replaces it with the new version. It then asks the user if they wish to launch the new version.

Maybe not the best way, but I think it works well.

- Lee
 _______________________________________________
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

  • Follow-Ups:
    • Re: Updates from Download
      • From: Denis Defreyne <email@hidden>
    • Re: Updates from Download
      • From: "M. Uli Kusterer" <email@hidden>
    • Re: Updates from Download
      • From: Finlay Dobbie <email@hidden>
References: 
 >Updates from Download (From: Lorenzo Puleo <email@hidden>)

  • Prev by Date: Re: NSTabView problem in IB
  • Next by Date: Newbie archiving questions
  • Previous by thread: Re: Updates from Download
  • Next by thread: Re: Updates from Download
  • Index(es):
    • Date
    • Thread