The ability to allow 3rd party plugins to check for updates has been added. This is not automatic, it has to be done for each plugin on the new Plugins tab of the Options dialog. If an assembly defines the UpdateFeedAttribute, then a plugin is able to check for updates. The update feed attribute is passed a Url to an RssFeed. This feed should define the http://ccnetconfig.org/2007/updates namespace (Shema).

Each item in the rss feed can define Update Information. Below is an example of an UpdateInfo section.

      <update:UpdateInfo UpdatedDate="2008-01-20T22:03:15.68400-06:00" Version="1.0.918.12481" Mode="Stable">
        <update:Comments>
        Latest Version
        </update:Comments>
        <update:Files>
          <update:File FileSize="1024923" 
                 Location="http://ccnetconfig.org/ccnetplugins/debug/1.0.918.12481/ccnetplugins.1.0.918.12481.zip" 
                 Restart="true" Version="1.0.918.12481" />
        </update:Files>
        <update:Commands>
          <update:Command>del .\ccnetplugins.config</update:Command>
        </update:Commands>
      </update:UpdateInfo>


Name Description Required Type Default
UpdatedDate This is the date and time of the release True DateTime
Version The version of the update. True Version
Mode The type of update. This can be either Stable or Beta True String
Comments A description of the update that is displayed to the user. All Html is stripped. False String
Files A collection of files that will be downloaded. Currently the updater will only download the first file. True
File The file information so the updater can download the updates True
FileSize The size of the update archive True Long
Location The url where the updater can download the archive. True String
Restart Indicates if the application needs to restart for the updates to take place (not currently implemented, it will always restart) True Boolean
Version The version that the archive will update the files being updated to. True Version
Commands A collection of commandline actions that can take place before the archive is extracted. False Array
Command A command line action that takes place before the archive is extracted. False String

Last edited Sep 22, 2008 at 2:46 AM by camalot, version 2

Comments

No comments yet.