Re: cocoa-dev digest, Vol 2 #10 - 18 msgs
Re: cocoa-dev digest, Vol 2 #10 - 18 msgs
- Subject: Re: cocoa-dev digest, Vol 2 #10 - 18 msgs
- From: Tommaso Pecorella <email@hidden>
- Date: Mon, 14 Jan 2002 00:32:02 +0100
At 12:35 -0800 13-01-2002, email@hidden wrote:
Date: Sun, 13 Jan 2002 07:32:26 -0700
Subject: Implementing Software Update into apps.
From: "T.G. McLean" <email@hidden>
To: email@hidden
Hey, gang --
I've searched the archives (Mamasam), ADC sites, docs, and Web for
answers to this question, to no avail. Hope you can help:
Is it possible to use Software Update (SWU) as the updating
front-end for your app., and if so, how's it done?
The only doc I was able to find was a little dated
(http://developer.apple.com/technotes/tn/tn1191.html). It seems to give
the impression that SWU is only for Apple system software or third-party
device-driver builders... but we all know that's not true, since IE
often appears in the panel for updating. (Is buying part of Apple
corporate a prerequisite? ; ) )
The only other hits I get are third-party tools like UpdateAgentX
(Insider Software, Inc.).
Any ideas or experience?
I had a similar problem some time ago and the answer is:
-> no you can't use the os built-in SWU.
It seems that Apple don't want to mess their servers with 3-party
software update, and this is (partially) logical. Imagine if every
programmer in the world (even the hobbist) could do such a thing...
Fortunately the way to do such a thing is very easy. All you need to
have is a 24h/day 365days/year web page (even a free hosting service
is fine) and... voil` your personal version checking. I don't remeber
where I found this hack, but all my screensavers now have the
capability to do a version-check.
Download one of them and check the source code.
The file that I put in my web server is like this one:
------ begin saversVersions.plist
{
bumps = "1.1.0";
coral = "1.0.4";
dim = "1.0.0";
flame = "1.0.1";
galaxy = "1.0.0";
hopalong = "1.0.3";
langtonants = "1.0.2";
pedal = "1.0.1";
rocks = "1.0.3";
starspiral = "1.1.2";
stonerview = "1.1.0";
}
------ end saversVersions.plist
In my savers the version check give only a message to the user
(up-to-date or not), but it's staightforward to add autodownload and
autoinstallation capabilities.
Best regards, Tommaso ;-{))
PS: I forgot, my home page is
http://spazioweb.inwind.it/tpecorella/uselesssoft/
--
--------------------------------------------------------------------------
Ing. Tommaso Pecorella
snail-mail: e-mail :
via del Pergolino 8/a
mailto:email@hidden
50139 Firenze - ITALY
RSA Key fingerprint = 232A D084 AD2F 7815 3D44 AFF0 AA52 A3AA
--------------------------------------------------------------------------