Home > Overview > User Interface > Menus > Options >
The Options Dialog can be used to configure how auto-update works in Microsoft XML Notepad. The Options Dialog points to an Updates.xml file that contains the following kind of information:
<
application
><?xml
namespace="" ns="urn:schemas-microsoft-com:office:office" prefix="o" ?>
<
title>
Microsoft XML Notepad
2007</title>
<
location>
http://msdn.microsoft.com/xml/XmlNotepad/Updates.xml</location>
<
download>
http://www.microsoft.com/downloads/details.aspx?familyid=72d6aa49-787d-4118-ba5f-4f30fe913628</download>
<
frequency>
20.00:00:00</frequency>
</application>
This section contains the following information:
- title - the title of the application being updated.
- location - this field allows the remote administsrator to move where Microsoft XML Notepad is looking for updates. When Microsoft XML Notepad discovers a new value here it automatically updates the setting displayed in the options dialog.
- download - the location of the page where the user can download the new installer.
- frequency - how often to ping the updates.xml page for updates. The default is every 20 days. The minimum value supported here is every 5 seconds - but this is not recommended.
Following this is a list of <versionnumber= "2.3"> tags describing the features and bugs fixed in each version of the application. Microsoft XML Notepad will compare this with the version of the current assembly that is running to see if a newer version is available.
If it finds a newer version, Microsoft XML Notepad displays a button on the right hand side of the main menu bar telling the user that a new version is available. When the user clicks on that button it opens the web browser at the download page so the user can then install the new version.
An example "Updates.xml" document is included with the Microsoft XML Notepad installation containing the version information matching the version of Microsoft XML Notepad that is currently installed.