Besttoolbars Development network

Back to Besttoolbars main site

 

Update and upgrade

From Best Toolbars

Jump to: navigation, search

Q: How do I release a new version of the toolbar to my clients?

A: First you need to change the version number. Please provide increasing numbers: if you had 1.0 you should  
use 1.1, 1.2 ... or 2.0, 3.0, 3.1 ...
As result, you will have a webinstall folder with several files. You have to upload it to your website and provide a 
link to your users to download it.
When the users clicks on "update" button in the toolbar, a new version you made will be downloaded and installed  
from your website. If auto-update feature is enabled, the toolbar will be updated automatically. 

Q: How do I know if the update feature is working?

A: Normally you need to verify that your serverpath and updateurl inside the <SETTINGS> </SETTINGS> are  
correctly configured like below:
<URL id="serverpath" default="http://yoursite.com/toolbar/"/>
<URL id="updateUrl" default="http://yoursite.com/toolbar/toolbar.cab"/>
Please make sure that they point to an existing folder on your website and the toolbar.cab file is there. Make sure 
that the version.txt file is there. It should be accessible as http://yoursite.com/toolbar/version.txt
The toolbar will upgrade itself either manually (when UPDATE command is triggered by button or menu item) or 
automatically (see automtic update).
It will update only if the .txt file version on your server has a greater version number then the present one. 

Q: Does the toolbar update automatically or will I be prompted?

A: It will prompt for updates if you use:
<RADIO id="UpdateAutomatically" default="1"/>
Or will update silently if you have:
<RADIO id="UpdateAutomatically" default="2"/>
Or will update only when user clicks update.
<RADIO id="UpdateAutomatically" default="0"/>  

Q: How does the Toolbar know in general to update?

A: When automatic updates are turned on, the toolbar pulls version.txt file from the server each X hours
(where X is defined using the scope attribute of the SETTINGS tag). And if it find that the version number has  
changed it performs an upgrade. 

Q: How to use Automatic Upgrade feature?

A: From time to time you may want to distribute new Toolbar versions to your toolbar users. 
If you enable auto updates, you will just need to upload the new version.txt and .cab file on your site and all your  
users' toolbars will be upgraded automatically. 

Q: We would like to have silent updates. Is it possible?

A: Silent updates are possible by choosing 'Toolbar->Settings->Features->Silent updating' option or by setting:
<CHECKBOX id="UpdateAutomatically" default="2"/>
Personal tools

Copyright © Softomate, 2008. All Rights Reserved
Terms of Service | Privacy Policy