Results 1 to 5 of 5

Thread: updating of app exe. file

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2004
    Posts
    277

    updating of app exe. file

    hihi,,

    recently, i have installed an application on some stations. The application is yet bug free. but due to the testing stage, i need to run it on some other machines. However, whenever there is an newer updates i will need to go to each single machine to do an update which is seem quite tedous for me.

    i am thinking of downloading the most updated exe file from the web server so that evertime when the user login using the application, it will check for the most updated application exe, download it into the application folder, and over-ride the old version.

    i have have tried it when the application is running, but fails cos the file is executing. The most ideal example is like anti-virus application or Windows(OS) which prompt user to automactically download the most resent file and updates the application.

    or is there any other better way to do it beside sending out e-mails to them and ask them the do the update? [;>

    ???
    ocw

  2. #2
    Hyperactive Member Maven's Avatar
    Join Date
    Feb 2003
    Location
    Greeneville, TN
    Posts
    322

    Re: updating of app exe. file

    Quote Originally Posted by ocw
    hihi,,

    recently, i have installed an application on some stations. The application is yet bug free. but due to the testing stage, i need to run it on some other machines. However, whenever there is an newer updates i will need to go to each single machine to do an update which is seem quite tedous for me.

    i am thinking of downloading the most updated exe file from the web server so that evertime when the user login using the application, it will check for the most updated application exe, download it into the application folder, and over-ride the old version.

    i have have tried it when the application is running, but fails cos the file is executing. The most ideal example is like anti-virus application or Windows(OS) which prompt user to automactically download the most resent file and updates the application.

    or is there any other better way to do it beside sending out e-mails to them and ask them the do the update? [;>

    ???
    ocw
    You could do it no problem with an external patch program.
    Education is an admirable thing, but it is well to remember from time to time that nothing that is worth knowing can be taught. - Oscar Wilde

  3. #3
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    Re: updating of app exe. file

    What you can do is to have another smaller EXE file that is used as the launcher of your application. This EXE will check for updates and if one exist download it (or ask before doing so) and then launch your app. If no update is available it will simply launch your app.

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2004
    Posts
    277

    Re: updating of app exe. file

    hihi..

    i am now trying to create a new exe file to download the file throught FTP. the problem is that how can i check the date of the file from the web server? So that i am able to know if myh application needs an update.

    ???
    ocw

  5. #5
    Addicted Member
    Join Date
    Mar 2005
    Location
    Chicago
    Posts
    136

    Re: updating of app exe. file

    What I do is for this is create a text file that contains a version number or in your case a date would work, place it on the server and then read this file from my application which has a text file locally and included with the install package that contains it's own current version number or build date. Then just compare them if the one on the server is newer, download. If not launch the application.


    EDIT:

    I use a method like Joacim suggested to do this. So this would be a small .EXE that just pops up some message boxes to prompt the user for whether or not they would like to download the update.
    Last edited by bat711; Jan 18th, 2006 at 11:29 AM.
    CodeBank: Launch IE

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width