AutoUpgrade Feature ?
-
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
-
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
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