Hi
I hope someone can give me some pointers on how to develop a webupdate for my small delphi app.
I have no idea how to do it, but here is my plan:
1. Check for latest version:
I would write an html : which would contain just a number, for example: 20. So I would read this html from delphi and I would get 20 from it and just compare to current installed version.
2. If 20 is more than current then donwload
3. Unzip downloaded file : app.zip -> app.exe
4. Start app.exe
5. Close application so I can copy over the new version.
Now, I don't see any problems with steps 2,4-5.
So, 1. step is the hardest. I have no idea hot to GET html from a specific address.
And step 2. download specific file... how?
I can't have any asp or php on so just html.
If anybody thinks this is completely wrong
... Please advise.
Thanx
Tilen
I hope someone can give me some pointers on how to develop a webupdate for my small delphi app.
I have no idea how to do it, but here is my plan:
1. Check for latest version:
I would write an html : which would contain just a number, for example: 20. So I would read this html from delphi and I would get 20 from it and just compare to current installed version.
2. If 20 is more than current then donwload
3. Unzip downloaded file : app.zip -> app.exe
4. Start app.exe
5. Close application so I can copy over the new version.
Now, I don't see any problems with steps 2,4-5.
So, 1. step is the hardest. I have no idea hot to GET html from a specific address.
And step 2. download specific file... how?
I can't have any asp or php on so just html.
If anybody thinks this is completely wrong
Thanx
Tilen