Creating a updater
<p>VS 2008 SP1</p>

<p>I have created a application that I have installed on the user computer. However, I want the application to be self-updating. But I am not sure if this would really update the application.</p>

<p>The application will download all the files from the web server, and replace the files in the directory where the program as been installed to. The user will restart the application. </p>

<p>I am just want to be sure, because I can't replace the installed files with the updated ones. As the application will be running. So really the application cannot delete/replace itself.</p>

<p>So, I was thinking that I could download into another directory, if the program is installed in this directory 'program files/application/1.0.0' then I could download the files to 'program files/application/1.0.1'. </p>

<p>However, when the program restarts, how can it know that it has to execute from the 1.0.1 directory?</p>

<p>I can't use clickonce or the updater block for this.</p>

<p>Many thanks for any advice,</p>
