Anyone want to help design this?
-
I want to make an automatic update system. Here is my simple plan for one: At the begining of application init, the application will go into the updater block. //////// Updater block psedo code settings = Load application settings; if (user wants auto updates) { //creat an instance of the updater from a library Updater.dll Updater myUpdater = new Updater(); // updater goes online and check for updates UpdaterFeedback = myUpdater.StartUpdater(); if (updaterfeedback == updatefound) { if (settings.totallyautomatic == true) { updater.doupdater } else { // ask user if they want to update & tell them about the update // also give them some info on it if (userWantsToUpdate == true) { updater.DoUpdate(); } } } } else { continue with the application startup } //////// End updater block ---------------------------- If you have any ideas, please post them I have not a clue how to do the internet update check, if you have any ideas please post them. Thanks
-
I want to make an automatic update system. Here is my simple plan for one: At the begining of application init, the application will go into the updater block. //////// Updater block psedo code settings = Load application settings; if (user wants auto updates) { //creat an instance of the updater from a library Updater.dll Updater myUpdater = new Updater(); // updater goes online and check for updates UpdaterFeedback = myUpdater.StartUpdater(); if (updaterfeedback == updatefound) { if (settings.totallyautomatic == true) { updater.doupdater } else { // ask user if they want to update & tell them about the update // also give them some info on it if (userWantsToUpdate == true) { updater.DoUpdate(); } } } } else { continue with the application startup } //////// End updater block ---------------------------- If you have any ideas, please post them I have not a clue how to do the internet update check, if you have any ideas please post them. Thanks
:)well you could use the
WebRequest
classes to read a txt file from the net that has the latest version number for the app, and if not, downmload the new file. i cannot offer any more help on the matter, and next time, try thinking about it, istead of asking someone to write it for you, if you get stuck on a particular aspect of it, then we'll be more than happy to help.
:suss: Email: theeclypse@hotmail.com URL: http://www.onyeyiri.co.uk
:suss:"All programmers are playwrights and all computers are lousy actors." -
I want to make an automatic update system. Here is my simple plan for one: At the begining of application init, the application will go into the updater block. //////// Updater block psedo code settings = Load application settings; if (user wants auto updates) { //creat an instance of the updater from a library Updater.dll Updater myUpdater = new Updater(); // updater goes online and check for updates UpdaterFeedback = myUpdater.StartUpdater(); if (updaterfeedback == updatefound) { if (settings.totallyautomatic == true) { updater.doupdater } else { // ask user if they want to update & tell them about the update // also give them some info on it if (userWantsToUpdate == true) { updater.DoUpdate(); } } } } else { continue with the application startup } //////// End updater block ---------------------------- If you have any ideas, please post them I have not a clue how to do the internet update check, if you have any ideas please post them. Thanks
You could have a web service that you send the current version and if it has something more recent, it can send you the URL to the files you need. Paul
-
You could have a web service that you send the current version and if it has something more recent, it can send you the URL to the files you need. Paul
I did find example code for an Automatic Updater on GotDotNet.com once, although I've since lost the URL and couldn't find it last time I looked. It was a good solution though, and used a web service to provide details about the latest versions of components etc. -- Paul "I need the secure packaging of Jockeys. My boys need a house!" - Kramer, in "The Chinese Woman" episode of Seinfeld MS Messenger: paul@oobaloo.co.uk Sonork: 100.22446
-
I want to make an automatic update system. Here is my simple plan for one: At the begining of application init, the application will go into the updater block. //////// Updater block psedo code settings = Load application settings; if (user wants auto updates) { //creat an instance of the updater from a library Updater.dll Updater myUpdater = new Updater(); // updater goes online and check for updates UpdaterFeedback = myUpdater.StartUpdater(); if (updaterfeedback == updatefound) { if (settings.totallyautomatic == true) { updater.doupdater } else { // ask user if they want to update & tell them about the update // also give them some info on it if (userWantsToUpdate == true) { updater.DoUpdate(); } } } } else { continue with the application startup } //////// End updater block ---------------------------- If you have any ideas, please post them I have not a clue how to do the internet update check, if you have any ideas please post them. Thanks
Here is the webpage running on gotdotnet regarding an updater component http://www.gotdotnet.com/team/windowsforms/appupdater.aspx