Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I have two components at work the application executable itself and a web-service (SOAP) which provides version details and file downloads.</p> <p>The application calls a method on the SOAP service to ask for the number of files in the project (project is identified by using the application.exename usually).</p> <p>The soap service gets its info from an INI file, which has entries like:</p> <blockquote> <p>[ProjectName]</p> <p>NumberOfFiles=2</p> <p>File1=myapp.exe;1.0.0.1</p> <p>File2=mydll.dll;1.0.0.2</p> </blockquote> <p>You just update this file at the same time as uploading your new files.</p> <p>The process of updating the application this:</p> <ol> <li><p>Get number of files available on the web service</p></li> <li><p>For each file, the application asks for the name and version number from the SOAP server.</p></li> <li><p>The application compares this information to its own version info and decides if the file needs updating, building a local list of files that need updating.</p></li> <li><p>For each file that needs updating the application downloads the file to filename.ext.new</p></li> <li><p>Finally, the application renames all filename.ext to filename.ext.old and renames filename.ext.new to filename.ext and then restarts itself. (No real need for an external app to restart your own program).</p></li> </ol> <p>Note 1, that you may have to ask for elevation to replace files, depending on where you install your files.</p> <p>Note 2: be kind to your users, think carefully before you force updates on users.</p> <p>Note 3: You cannot delete a running exe, but you can rename it and then restart the new version.</p> <p>Edit===</p> <p>For some reference data files which cannot contain version information resources, you can have entires like File99=MyDataFile;1.1.2011 the 3 elements to the version number indicates to the client that it should check against the file date/stamp. </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload