Hi Vic,
 
you're right; the info about what's installed, and what version it is on
your pc, is all part of the uninstall info.
 
Jacob, I understand your confusion: you want to know how it knows where to
find the updated version, so it can compare against what you have, to see if
an update is needed?  
 
GW has set things up so that you can find this simply by specifying the apps
name as part of the url.  The add/remove package manager takes the app's
name and creates the appropriate app central url, and then goes there to see
if there's an xml feed specifying the current version of this app on app
central.  if it finds this, and finds the version is later on app central,
then it notifies the user about an update.
 
It's not quite as flexible as the method used inside the script itself, as
you can't specify where to look for the updates, but it does work and works
well; it would only not work if you didn't want to store your updates on app
central, and the only reason I could think of for doing that would be some
sort of commercial app where you limit how it's distributed.
 
hth,
 
Chip
 
 

  _____  

From: Vic Beckley [mailto:[email protected]] 
Sent: Sunday, May 08, 2011 2:34 PM
To: [email protected]
Subject: RE: Package manager update question



Aaron,

 

But where does it get the information about what packages you have installed
and the version numbers to compare to the App Central version numbers? It
can't get that from App Central.

 

Vic

 

 

From: Aaron Smith [mailto:[email protected]] 
Sent: Sunday, May 08, 2011 2:08 PM
To: [email protected]
Subject: Re: Package manager update question

 

On 5/8/2011 1:31 PM, Vic Beckley wrote: 

I think it uses the uninstall info in the uninstall folder in your config
folder to do its version checking. I could be wrong about this, though.

 


Actually, the Add/Remove Packages check for updates routine gets all app
information (version, file size, update url, etc.) from App Central (review
the App Get code for a similar technique). This is hard coded in
Window-Eyes.

Aaron




-- 
Aaron Smith 
Web Development * App Development * Product Support Specialist
GW Micro, Inc. * 725 Airport North Office Park, Fort Wayne, IN 46825
260-489-3671 * gwmicro.com
 
To insure that you receive proper support, please include all past
correspondence (where applicable), and any relevant information
pertinent to your situation when submitting a problem report to the GW
Micro Technical Support Team.

Reply via email to