Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Auto update of program (Downloading from web)

Auto update of program (Downloading from web)

Scheduled Pinned Locked Moved C#
announcementcsharphtmlregextutorial
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Casper Hansen
    wrote on last edited by
    #1

    Hello. I have been creating a application that checks the application version and sees if it fits with the version from http://msbeditor.dumpen.dk/versioninfo.html If it doesnt I use a webBrowser component to open a download link to http://msbeditor.dumpen.dk/msbEditor.rar But this is not very practical because, the ones using my application have to download all files even though some of the files are not changed.. So I wanted to ask if you have an idea on how to make a auto updater in C#? I was thinking of something like: Check the application version with the online version (Allready done) If it doesnt fit, then match all the files (last changed or file size or similar) in the rar file (from msbeditor.dumpen.dk) with the files in the application folder If they are changed then download the changed files Any ideas?

    L K 2 Replies Last reply
    0
    • C Casper Hansen

      Hello. I have been creating a application that checks the application version and sees if it fits with the version from http://msbeditor.dumpen.dk/versioninfo.html If it doesnt I use a webBrowser component to open a download link to http://msbeditor.dumpen.dk/msbEditor.rar But this is not very practical because, the ones using my application have to download all files even though some of the files are not changed.. So I wanted to ask if you have an idea on how to make a auto updater in C#? I was thinking of something like: Check the application version with the online version (Allready done) If it doesnt fit, then match all the files (last changed or file size or similar) in the rar file (from msbeditor.dumpen.dk) with the files in the application folder If they are changed then download the changed files Any ideas?

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Sounds okay. You can create an additional updater application that will download the files and then update your main application when finished. regards

      C 1 Reply Last reply
      0
      • L Lost User

        Sounds okay. You can create an additional updater application that will download the files and then update your main application when finished. regards

        C Offline
        C Offline
        Casper Hansen
        wrote on last edited by
        #3

        Thank you Im glad you like the idea But do you have any like real code for me? Because (for me since im not that expierenced) its hard to go from idea to actullay coding it A snippet or similar is just fine! :)

        1 Reply Last reply
        0
        • C Casper Hansen

          Hello. I have been creating a application that checks the application version and sees if it fits with the version from http://msbeditor.dumpen.dk/versioninfo.html If it doesnt I use a webBrowser component to open a download link to http://msbeditor.dumpen.dk/msbEditor.rar But this is not very practical because, the ones using my application have to download all files even though some of the files are not changed.. So I wanted to ask if you have an idea on how to make a auto updater in C#? I was thinking of something like: Check the application version with the online version (Allready done) If it doesnt fit, then match all the files (last changed or file size or similar) in the rar file (from msbeditor.dumpen.dk) with the files in the application folder If they are changed then download the changed files Any ideas?

          K Offline
          K Offline
          Kjetil Svendsen
          wrote on last edited by
          #4

          Hi. Have you considered ClickOnce ? Kjetil

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups