Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Distributed Applications / February 2004

Tip: Looking for answers? Try searching our database.

Updater Application Block - Cascading Updates

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jody Gelowitz - 24 Feb 2004 23:35 GMT
Currently, the Updater Application Block appears to only do one update at a
time (ie. From version 1.0.0.0 to 3.0.0.0).  Has anybody figured out a way
to do cascading updates using the Updater Application Block (1.0.0.0 ->
2.0.0.0 -> 2.1.0.0 -> 3.0.0.0) so that it downloads all applicable files for
each version in a single swoop?

Thanks,
Jody
Bill Sabey - 25 Feb 2004 14:51 GMT
It appears that the current design recommends that the 3.0.0 download
directory contains all the files for the app.  Doesn't this achieve the
desired goal of keeping everything up-to-date?   going from1.0.0 to 3.0.0
should be the same as going from 1.0.0 to 2.0.0 to 3.0.0, since the
servermanifest contains all the files in the release.

> Currently, the Updater Application Block appears to only do one update at a
> time (ie. From version 1.0.0.0 to 3.0.0.0).  Has anybody figured out a way
[quoted text clipped - 4 lines]
> Thanks,
> Jody
Jody Gelowitz - 25 Feb 2004 16:18 GMT
My application has 1000+ files which could total up to 300MB.  What I want
to achieve with cascading updates is:
   1.  User installs full application on their computer
   2.  After 30 days, there will be updates to a certain library of files
(Version 2)
   3.  After another 30 days, there will be more updates and additional
modules (Version 3)
   4.  After another 30 days (Version 'x')....

What I want to do, instead of having to copy all of the Version 2 files over
to Version 3 (on the server) for the full update to perform, I want to do
some type of cascading update where Version 2 files would download only if
required, then Version 3 files would download if required.  This would
prevent a user who already has Version 2 upgrading to Version 3 to
re-download Version 2 files again.

One other thing to note is that I have edited the Launcher to check for
version directories (ie. 2.0.0.0) and move the contents over to the original
installation directory before launching the application.  Doing this
prevents me from having to copy the complete application (300MB+) over to
the 2.0.0.0 directory when there is only 5 files totalling 1MB that have
been updated.  Although doing the reverse of what the Updater Application
Block documentation mentions means that I do not have a version history on
the client computer, it allows me to reduce the amount of HD space used in
the end and also makes it easier to continue with Automatic updates if the
user installs a previous update from CD (ie. User installs full
application - Version 1 - then installs update from CD - Version 2 - then
runs auto-updater - Version 3)

I have an idea of how to accomplish this, but I just want to see if anybody
else has done this first so that I don't have to "re-invent the wheel".

Thanks,
Jody

> It appears that the current design recommends that the 3.0.0 download
> directory contains all the files for the app.  Doesn't this achieve the
[quoted text clipped - 12 lines]
> > Thanks,
> > Jody
Bill Sabey - 25 Feb 2004 19:10 GMT
sounds like a reasonable approach.  you may also want to post your idea to
http://www.gotdotnet.com/community/messageboard/messageboard.aspx?id=3734,
the gotdotnet site for app updater.

as for keeping history, could you save the servermanifests for each version
that was downloaded?

> My application has 1000+ files which could total up to 300MB.  What I want
> to achieve with cascading updates is:
[quoted text clipped - 49 lines]
> > > Thanks,
> > > Jody

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.