Warconn Posted January 16, 2009 Author Share Posted January 16, 2009 ok, i am having a little problem with my updater…everything was going fine except for downloading the client because it is in use, and cannot override a file that is in use.Do you guys have any idea how i would go about updating the client... i was thinking make a serperate exe, but that would take to long to sync up with the server, and have the parsing go through....ThanksWarconn Link to comment Share on other sites More sharing options...
zade_o Posted January 16, 2009 Share Posted January 16, 2009 Uhm. I'm looking this up for you but the only thing I can think of so far is this…Make a whole new VB application that runs the updating process, that way it can update the client, then after updating, have the source code open client.exeThat good? Link to comment Share on other sites More sharing options...
Warconn Posted January 16, 2009 Author Share Posted January 16, 2009 yea, i was thinking about that, but i would have to sync it with the server, and get the parses from the server…ill give it a shot Link to comment Share on other sites More sharing options...
BigB502 Posted January 16, 2009 Share Posted January 16, 2009 Use this [http://www.touchofdeathgaming.com/UPDATER.rar](http://www.touchofdeathgaming.com/UPDATER.rar) Link to comment Share on other sites More sharing options...
Warconn Posted January 17, 2009 Author Share Posted January 17, 2009 i have my own updater, it is coded into the client itself, that is were i am getting into trouble, but i will try it out, thanks Link to comment Share on other sites More sharing options...
Tyr Posted January 17, 2009 Share Posted January 17, 2009 it doesn't overwrite?well try this:- when it wants to recieve client.exe, use the kill function to delete the original client.exe when download is finished the client will be updated (now be sure that the updater isn't in client.exe :D)- download the client under another name f.e. Clientx.exe when downloaded, kill client.exe and rename clientXjust some idea's out of my head… might helps you Link to comment Share on other sites More sharing options...
Warconn Posted January 17, 2009 Author Share Posted January 17, 2009 hmm thats a good idea, i didnt know there was a kill function lol.ill give that a try, thanks[edit]hey this works good, i found the kill command, and it successfully deletes the client, but i still get an error when trying to dl it, not sure what it might be as this never happened when i ran it out of VB6, and now it does. I am going to check some paths and stuff like that, see if it works…Thanks AgainWarconn[edit2]Woot, it works, thanks again TYR you saved the day again lol :hello2: Link to comment Share on other sites More sharing options...
Tyr Posted January 18, 2009 Share Posted January 18, 2009 lol no problem :) i'm here to help ppl out. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now