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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. Self Update .Net application with a web service.

Self Update .Net application with a web service.

Scheduled Pinned Locked Moved C#
2 Posts 2 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.
  • M Offline
    M Offline
    Member 3426936
    wrote on last edited by
    #1

    All I have an application that the client uses, we do release updates every few months and everytime there is an update we send them a CD.We decided to update app automatically. The application uses an exe file along with 3 DLLs installed into GAC, while programming for auto updates I have no problem pulling the new files in to clients machine or with installing DLLs into GAC(because the DLLs have newer version number). But I am struck at replacing the original exe file, since the user clicks on a menu item that says "Get Updates", I don't see how I can replace the exe file without exiting the program itself!!!!! Appreciate any help ~Sri~

    J 1 Reply Last reply
    0
    • M Member 3426936

      All I have an application that the client uses, we do release updates every few months and everytime there is an update we send them a CD.We decided to update app automatically. The application uses an exe file along with 3 DLLs installed into GAC, while programming for auto updates I have no problem pulling the new files in to clients machine or with installing DLLs into GAC(because the DLLs have newer version number). But I am struck at replacing the original exe file, since the user clicks on a menu item that says "Get Updates", I don't see how I can replace the exe file without exiting the program itself!!!!! Appreciate any help ~Sri~

      J Offline
      J Offline
      Judah Gabriel Himango
      wrote on last edited by
      #2

      Ah, the chicken-and-egg update problem. :-) What you'll want to do is spawn a separate to actually replace your executable and immediately close the app.

      Religiously blogging on the intarwebs since the early 21st century: Kineti L'Tziyon Judah Himango

      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