This project is read-only.

Updater Application Block and .NET 2.0

This is the home page for the .NET 2.0 ported version of Updater Aplication Block that includes use of the latest version of Enterprise Library - January 2006 Release.

We suggest you should always evaluate ClickOnce as the peferred technology for managing updates on Smart Clients, but there are scenarios where ClickOnce is not applicable (like Windows Services).

Based on the feedback received from our community, we've ported UAB into .NET 2.0 to help customers working with these scenarios. No new features have been included though.

Download from here: Updater_Application_Block_2.0_-_.NET_2.0.zip

What is in the release:

  • The code compiles on .Net 2.0
  • Updater Application Block uses Enterprise Library 2.0 (Jan 2006)
  • Quickstarts migrated to support the new configuration system
  • Breaking changes are only related to configuration and not the Updater API
  • Bits Downloader now handles broken downloads gracefully (this is a fix to the original implementation).
  • UpdaterTask serialization fixed. There was a bug on the net 1.1 version of UAB related to the partial update scenario. When some files were removed from the manifest, the UAB serializes the UpdaterTask with the original version of the files. This caused the ApplicationDeployProcessor to fail.
  • Partial update scenario fixed.
  • The algorithms that might be used to calculate file hashes are non-keyed hash algorithms like: MD5, SHA1, SHA256, SHA384, SHA512
  • Manifest tool fixed to correctly support salt enabled hashes
  • The solution assumes you have EntLib installed in your machine to the default location

Release Notes

There is no Enterprise Library 2.0 Design time support, there are still .NET 2.0 compilation warnings and we've only ported the C# version.

Last edited Jan 7, 2007 at 7:17 PM by eugeniop, version 4

Comments

nicklasv Apr 15, 2010 at 10:16 AM 
Hello, did the fix "offsets to be multiples of 8 bytes" work out? Can you post the fix in that case?

michaleB Aug 6, 2009 at 11:55 AM 
I've downloaded the zip 4 times , but every time I try to extract form it I get errors with some of the files not being there. Can you point me in the direction of a different mirror? thanks

ianf1 Mar 25, 2009 at 4:17 PM 
The BitsInterop file contains several structures with declared offsets of 4 bytes (eg BG_BASIC_CREDENTIALS). This works fine until you try to run it on an x64 architecture. I believe (haven't actually tried it properly yet) the fix will be to update the offsets to be multiples of 8 bytes.