Results 1 to 4 of 4

Thread: Click once auto-update "With Update Progress Display"

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jul 2009
    Location
    Scotland/Japan
    Posts
    164

    Exclamation Click once auto-update "With Update Progress Display"

    Hello i have been working on an app and now have got to the point i want to let people test it i know how to use the click once auto-update but what i want to do is display the auto-update progress with a form that shows :

    ProgressBar - Label displaying % - label displaying Current Process

    label displaying Current Process EG

    Downloading file - copying file to directory stuff like that

    how would i go about setting this sort of thing up
    Between the world we see and the things we fear theres a realm of possibility

    D.L.H. Ind.

    We do what we do in out life to make Yours Simpler

  2. #2
    PowerPoster stanav's Avatar
    Join Date
    Jul 2006
    Location
    Providence, RI - USA
    Posts
    9,290

    Re: Click once auto-update "With Update Progress Display"

    You'd have to implement your own method of autoupdate. I'd create a web service that provides the update information as well as the updated files. So basically your application will send the WS its versions of the files that need to check for update. The WS will compare these versions against the ones currently on the server. If there are any updates, it will return the list of the files that need to be updated along with their sizes. Your application then download these files using async method so that you can tell how many bytes have been downloaded and update the progress accordingly.
    Let us have faith that right makes might, and in that faith, let us, to the end, dare to do our duty as we understand it.
    - Abraham Lincoln -

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jul 2009
    Location
    Scotland/Japan
    Posts
    164

    Re: Click once auto-update "With Update Progress Display"

    Woah umm i have no idea how to go about doing that

    Can you spread any light
    Between the world we see and the things we fear theres a realm of possibility

    D.L.H. Ind.

    We do what we do in out life to make Yours Simpler

  4. #4
    Addicted Member
    Join Date
    Dec 2009
    Location
    West Warwick, RI
    Posts
    193

    Re: Click once auto-update "With Update Progress Display"

    Quote Originally Posted by stanav View Post
    You'd have to implement your own method of autoupdate. I'd create a web service that provides the update information as well as the updated files. So basically your application will send the WS its versions of the files that need to check for update. The WS will compare these versions against the ones currently on the server. If there are any updates, it will return the list of the files that need to be updated along with their sizes. Your application then download these files using async method so that you can tell how many bytes have been downloaded and update the progress accordingly.
    I am trying to create an auto-update feature for one of my programs, by use of a very small EXE that runs before the main app - I am trying to do the following:

    1. Check my server 'Version.ini' file for Update version
    2. Compare Version info from Version.ini with app current version [ Using 2 Textboxes to hold both version info to compare ]
    3. If current version [ txtCurrVer ] is less than Update Version from Version.ini [ txtUpdVers.txt ], download updated EXE file from my server, then close updater, and run updated application

    I have done a lot of searching, but there's nothing I've come across that I can actually UNDERSTAND! Can anyone give me a push in the right direction?

    BTW, noticed you were from Providence - Hi from a fellow Rhode Islander [ Warren ]!

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