The Toolkit's check for updates is design to notify users of an
available update when the app launches. This is different from the
Add/Remove Packages dialog which provides an on-demand update check.
Aaron
On 5/7/2011 9:55 PM, Jacob Schmude wrote:
Hi Chip
It's what I'm supposing as well, but I need to know for sure. The
trouble with that line of reasoning is that, when most CheckForUpdate
functions are written, they read the ini file of the script in
question to determine whether updates should be checked on script's
start or not. Yet, the add/remove update function runs through scripts
and successfully checks for updates even when there is no ini file for
the script in question and works even while the script is already
running. That suggests to me that it might be calling the check for
update code, but is somehow either using its own method or else is
faking the ini file event for that update check. If it's using its own
method, I need to understand how it gets the script's URL (since
that's exposed in the function written within the script). I may need
to do some internal script hosting, so I need to understand exactly
how this works so that all update functions will point to the server
they'll have to use. Hopefully it's not hard-wired to check app
central somehow.
Thanks
On 5/7/2011 16:08, Chip Orange wrote:
Hi Jacob,
I don't think it's documented anywhere; but I'd be surprised if it
didn't just run through the list of your installed apps, and do the
equivalent of check for update from the GW toolkit on each of them,
accumulating a single list however to present to you at the end,
rather than a series of update announcements.
Is this what you were looking for?
Chip
------------------------------------------------------------------------
*From:* Jacob Schmude [mailto:[email protected]]
*Sent:* Friday, May 06, 2011 11:21 PM
*To:* [email protected]
*Subject:* Package manager update question
Hi, all
I'm new to Window-Eyes app development, but not new to programming in
general. I have a quick question about the package manager. How does
the package manager check for updates? I've read the docs for GW
Toolkit, and I understand how the CheckForUpdates object works. What
I don't understand is how the package manager itself checks for
updates. Does it fire off a CheckForUpdates sequence on each app, or
does it work via some other method and where do I find docs for it if
it doesn't use the GW Toolkit?
Thanks
--
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.