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 / C++ / MFC
  4. AutoUpgrade Feature ?

AutoUpgrade Feature ?

Scheduled Pinned Locked Moved C / C++ / MFC
c++sysadminquestion
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.
  • R Offline
    R Offline
    RaajaOfSelf
    wrote on last edited by
    #1

    Hello , Is there any SDK to implement the AUto-Upgrade feature .I am writing a application in vc++ .Is there anything ,that i can use some SDKs that can be used to check for upgrades for my application from a URL /server ? Cause is my effort; Effect is God's effort

    A 1 Reply Last reply
    0
    • R RaajaOfSelf

      Hello , Is there any SDK to implement the AUto-Upgrade feature .I am writing a application in vc++ .Is there anything ,that i can use some SDKs that can be used to check for upgrades for my application from a URL /server ? Cause is my effort; Effect is God's effort

      A Offline
      A Offline
      Ashman
      wrote on last edited by
      #2

      What I did, which was kind of slow maybe to create an autoupdater was to get my program to connect to the server, navigate to updates folder and open a file which was similar to an ini file. Get the current version of the program the user is running, set a variable for each new version like; Version 1.10a = 1 and Version 1.10b = 2 etc. On the server say the new version is Version 1.10c which = 3, try like: Note this is using CIniEx as an example... CString strVersion; ini.Open("Version.ini"); strVersion=ini.GetValue("Program","Version"); if(strVersion == "3") //Just an example, or just get the string value from a file on the webserver { //You have the current version } else { //Open another file to get the location of the new updated program and then download it and execute it } Just a suggestion....bit hard to explain considering Im a complete knob. For some reason things just work themselves out for me programmatically :confused:. Hope that helped. :~ :eek: Ashman

      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