Has anyone ever written an autoupdate feature? I mean when the program starts, it checks a specific location for a new version and if one is available it downloads the components and installs them automatically.

Does anyone have some sample sourcecode? Or does anyone know how I can programatically register components?

There is another problem: While the program is running, I cant access its dlls because they are in use. So how can I overwrite them?

Thanks for all input,

Daniel