 |
 | Nice idea... too complex. Destiny777 | 10:05 14 Apr '08 |
|
 |
It would have been much easier to maintain by having say a "Text" file on a given directory on the FTP site for a program or a suite of programs.
/MyFTPSite/AutoUpdate/ProgramName.txt
Within the file show the latest software update data with containing a link to the download for the new software version and any other files that need to be updated / added with the update.
Say that the latest update for your software is April 15, 2008.
Have the file contain something like this: 2008-04-15 MyProgramName.EXE File1.jpg File2.jpg ... etc.
Simple but elegant would be a great help!
|
|
|
|
 |
 | Hello ehrenberg | 21:50 25 Feb '08 |
|
 |
This is verrryyyy niiicee, thanks. High Five!!
|
|
|
|
 |
 | Toooooooooo Complicated !!!! abhi1310 | 1:31 16 Apr '07 |
|
|
 |
 | How to get on the FTP? [modified] unique_24 | 2:34 21 Jun '06 |
|
 |
Hi
For what is the FTPupdatepath ?
And how does I have to set for mySQL? Wenn I get in the UpdateCreator to upload the Files, in the mySQL I found no Entry!
Thanks
-- modified at 13:34 Wednesday 21st June, 2006
|
|
|
|
 |
 | Windows Update. Bikash Rai | 2:33 14 Dec '05 |
|
 |
How does Windows Update work? It downloads a setup file silently in the background and installs it. The Update can also be seen in the add remove programs. How does it do it? Also what happens if the downloading is in progress and the user shuts down the system? Any ideas?
Bikash Rai
|
|
|
|
 |
|
 |
One main thing: Windows update is created by Microsoft as well as Windows OS. They know all the hidden stuff that's inside Windows so for them anything is possible. Anyway you can also create silent istall but you nead to use some good installer software (e.g. InstallShield) or create your own.
--Nikola--
|
|
|
|
 |
 | Maybe future version should have this ... Vertyg0 | 9:02 7 Dec '05 |
|
 |
I will explain this on one example. I have main application witch is Server and i have Clients on my local network, but only server has access to internet and only he can update files, now the problem/question is how to transfer files from Server to Client ?
|
|
|
|
 |
 | Live Update App @ PSC igorkrupitsky | 11:16 27 May '05 |
|
 |
Thomas,
I really liked your application. However, I feel that the entire architecture can be reduced into a single app. By checking the Last Modified date of the zip file you can get rid of version checking mechanism.
Please check my “Live Update” application I have created inspired by your program. It also supports:
1) Encryption 2) Multiple folders in the zip file 3) Progress bar for downloading, unzipping and copying
http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=3640&lngWId=10
I hope that we can cooperate to create new application of this kind.
Regards, Igor
|
|
|
|
 |
|
 |
hi igor,
really great application and some basically better ideas, i sent u mail
thomas
|
|
|
|
 |
 | Microsoft's Updater Application Block Anonymous | 12:41 25 May '05 |
|
|
 |
 | Nice, but how to update the UpdateClient RSabet | 12:40 29 Nov '04 |
|
 |
What if there is the need to update the UpdateClient ?
Possible improvement: the php-script should also return an URL where to get the update, if you want to change the server or path where to get the files.
|
|
|
|
 |
|
 |
>>>update the UpdateClient this is one point where the concept leaks
-- but my idea was to include the UpdateClient inside the update-package with a different name, for example updatenew.exe
so you must insert a routine in your main application that checks at startup whether that new updater exists. when it's existing then the app removes the old one and renames the new one to the name of the old one
i hope this is a first practical solution that could be implemented without big changes.
the possible improvement of the php-script is a nice idea, when you've something working then it would be nice if you can send it to me, so that i can include it here
thanks for your contribution
|
|
|
|
 |
 | Nice but.. Pkef | 1:02 8 Nov '04 |
|
 |
Oh well, nice article and a nice example for webupdate but, your php needs some lift up and better writing.. just note that when you die(); you stop the whole script.. there is no reason to break; after that..also note that header("location:/") won't work in case of an error before the switch.In addition it's better to do some validate to your action and assign it to a variable, than just parsing it over and over everytime you need it. Do sth like this: $action = strip_tags ( trim ( $_GET['action'] ) ); strip_tags removes html tags , etc ( just in case someone finds out your webupdate script url and tries to mess it up) and trim removes the whitespaces from the left and the right of the string.. and something last, don't parse an array when you need to get just 1 result.. if there is just one result that is returned from your query it's better to do mysql_result($result,0,0); Hope this helped.. That's all i had to say.. good work.. Cheers,
Pkef
|
|
|
|
 |
|
 |
thx for help! i'll improve the article when there're more remarks
|
|
|
|
 |