If some new download available, then
    Read Each download information last saved.
    If this is an EXE file, then
        Rename the current EXE file to the "Old".
        Copy the download to the working EXE name.
        Make sure to delete the "Old" file later.
    Else
        Copy the download to the working directory.
    End if
    Delete the download file.
    Save the new file version number.
    Clean the update flag.
End if

Example 2: Pseudocode that describes file update.

Back to Article