mo.notono.us

Wednesday, February 28, 2007

Links for 2007-02-27 [del.icio.us]


Sent using Rmail R|mail.

Labels:

Tuesday, February 27, 2007

Links for 2007-02-26 [del.icio.us]


Sent using Rmail R|mail.

Labels:

Saturday, February 24, 2007

Links for 2007-02-23 [del.icio.us]


Sent using Rmail R|mail.

Labels:

Friday, February 23, 2007

Links for 2007-02-22 [del.icio.us]


Sent using Rmail R|mail.

Labels:

Saturday, February 17, 2007

Links for 2007-02-16 [del.icio.us]


Sent using Rmail R|mail.

Labels:

Wednesday, February 14, 2007

Links for 2007-02-13 [del.icio.us]


Sent using Rmail R|mail.

Labels:

Monday, February 12, 2007

Links for 2007-02-11 [del.icio.us]


Sent using R|mail.

Labels:

Friday, February 09, 2007

Links for 2007-02-08 [del.icio.us]


Sent using R|mail.

Labels: ,

Wednesday, February 07, 2007

Links for 2007-02-06 [del.icio.us]


Sent using R|mail.

Labels:

Tuesday, February 06, 2007

Links for 2007-02-05 [del.icio.us]


Sent using R|mail.

Labels:

Monday, February 05, 2007

Links for 2007-02-04 [del.icio.us]


Sent using R|mail.

Labels:

Saturday, February 03, 2007

Links for 2007-02-02 [del.icio.us]


Sent using R|mail.

Labels:

Friday, February 02, 2007

Links for 2007-02-01 [del.icio.us]


Sent using R|mail.

Labels:

Thursday, February 01, 2007

Self-Updating (and Self-healing) Applications

Scott Hanselman wrote a post called Making Your Application Update Itself that inspired me to leave a rather long comment. Since I don't blog much these days, I figured I'd also post my comment here:

The way I did this at my last job was to force an update check at the launch of the application. The app was an internal WinForm 1.1 app, with a webservice backend, since the users were not all in the same location. Rather than politely asking if the users wanted to update, we actually could require that they always work in the latest release.

So, I created a separate launcher exe that checked a webservice for a list of current files: if the list of files on the server differed from that on the client (determined by the hash of each file), then it'd download the necessary files, but only those. This had several benefits: We didn't need an installer for anything other than the launcher. If we only updated a single dll, then that was the only dll that needed to be sent to the clients. And should a user be boneheaded and delete an assembly, the application would heal itself.

To speed things up we compressed and decompressed the dlls (through the same web service compression utility we used for all webservice calls over a certain size).

The whole thing worked exceptionally well and was by far one of the more enjoyable tasks on the whole project (along with the custom web service compression task)...

Labels: , , ,

Links for 2007-01-31 [del.icio.us]


Sent using R|mail.

Labels: