|
-
Sep 28th, 2009, 09:50 AM
#1
Thread Starter
Addicted Member
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 
-
Sep 28th, 2009, 03:29 PM
#2
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 -
-
Sep 28th, 2009, 03:52 PM
#3
Thread Starter
Addicted Member
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 
-
Jun 5th, 2010, 08:01 AM
#4
Addicted Member
Re: Click once auto-update "With Update Progress Display"
 Originally Posted by stanav
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|