Hello I was wondering how one might go about writein an app updater .. An auto Updater I am hopeing!
Please give as much help .
Links to as many tuts .. as u can .or unless some one wants to do it for me .. hehe .. Only jokein
Thx in advanced
Printable View
Hello I was wondering how one might go about writein an app updater .. An auto Updater I am hopeing!
Please give as much help .
Links to as many tuts .. as u can .or unless some one wants to do it for me .. hehe .. Only jokein
Thx in advanced
Thx I will take a look !
I don't understand that at all .. I mean like is there any totaly clear tuts .. on this !
Perhaps, but I do know and have tested out wokas live update project and its awesome but a bit advanced. ;)
Here's a smaller version of a live update .. also includes code to change it to a patch, where it downloads it to a folder called Patch under the Apps Main Folder. Another thing it does is close out your App if it is open, then reopen it with the new version ...
File configuration is done in modConfig. Uses Winsock Control.
Also uses an ASP page on the remote server to check the file versions (included).
Rory
PS. I have a Full Live Update in a program i did last year (http://www.bahamassecurity.com/livevue.asp) but i need to strip the code out of that program before i post it ..maybe another time :)
Its not wrkin .. Says local Version Error!!
Right .. it looks for the Main Program Exe in the Main Program Folder ..
eg. C:\Program Files\MyProgram\MyProgram.exe
First that has to exist (hence your error message) .. you can change that in the code ..
Then it goes to the URL specified and runs the script in the ASP Page.
The ASP page checks the File on the Server against the one in the main Program Folder, checks version numbers .. if the one on the Serber is newer it downloads it .. otherwise says no new updates.
I wouild have included the test EXEs but dont think we can here.
Updated it with my URL to test .. also see the notes in the modConfig module ..
http://www.vbforums.com/attachment.p...chmentid=49730
'Open a New Project & Compile blank Exe with App Title "My Program Title"
'App title's need to be same if you want it to close and reopen if it was open
'Paste it into a new folder -> C:\Program Files\MyProgram\MyProgram.exe
'This exe will be version 1.0.0 by default since we just created it
'The version of the MyProgram.exe on my server is 1.0.1 for testing
'MyProgram.exe on my server is a blank exe as above with a MsgBox "New"
More errors ..
Updrade Reponce error ..
I included the files .. an all .
Okay here it is
I yes I 4 got to say that I don't know if ASP will work on my webserver b.c when I open it on there all I see is the code...
In the code i posted you will require a server that runs ASP.
If you have Win XP Pro you can install IIS on your PC to handle that.
Rory
Na I have XP Home Ed
An my stupid host don't support ASP Well not yet any ways ..
http://awardspace.com
There my host very good .. But there still in beta so some misshaps ..
http://forum.awardspace.com
The forum .. aas u see lol I am a mod there ..
well you could convert the ASP to Php or some other server script, or search the php forum here .. basically it needs some kind of server script ...
there is another option though, using a text file on the server..
Ill convert this tomorrow ..
Ok check this one out. Uses a Text file on the server to get the version.
Let me know.
also check out this
http://www.planet-source-code.com/vb...57136&lngWId=1
I see you have PHP support. Go with that, it's easier than ASP/ASP.NET, and more widely supported.
And for goodness sake don't make your client side app look like LiveUpdate :D
dont like that skin hey :D (see the live update version in the PDF for my app - a modified version LOL)
actually asp is easier than php if you already program in VB ... but yeah it isnt free generally as its windoze ..
Thx rory