Page 5 of 11

Re: Automatic Updates

Posted: Wed Mar 24, 2010 8:36 pm
by CodenStuff
Hello ChocolateUniverse,

Good to see someone making improvements to existing apps cooll; . I did originally have it coded into the main application like that but the problem was that I wanted to be able to download the update..replace the old version and then launch the new version automatically. The problem was that its not possible to delete/replace an exe if its already running so I created it seperately so that it can delete the main app and download the new version and then run it after its finished.

I should try update this tutorial aswell and go about it in a different way.

Re: Automatic Updates

Posted: Fri Mar 26, 2010 12:15 pm
by Insignia
That's were Aleri's tutorial comes in;

viewtopic.php?f=38&t=954

You just exit the app and in the Form Closing event you let it execute the self-extracting archive which can run the app after finishing(Yes you can run it silent :D)

Re: Automatic Updates

Posted: Fri Mar 26, 2010 1:27 pm
by Insignia
Ok I fixed up the code it downloads the self-extracting archive as update.new and saves it as update.sfx.exe but when I try to start it it errors me and says Windows 64bit doesn't accept 16bit applications goofy;

Re: Automatic Updates

Posted: Thu Apr 15, 2010 4:54 pm
by arno
ooh nice nice im loking for this my hole life

Re: Automatic Updates

Posted: Fri Apr 30, 2010 12:23 am
by zachman61
this does not work for me it doesn't load my program which needs to update

Re: Automatic Updates

Posted: Mon May 10, 2010 4:26 am
by Gamedaddy
I hope this will work because I will try it.

Re: Automatic Updates

Posted: Fri May 14, 2010 12:05 am
by lawrence12
nice one code!

Re: Automatic Updates

Posted: Thu Jun 03, 2010 7:39 pm
by TrapInc
Excellent! FINALLY!!!

Re: Automatic Updates

Posted: Tue Jun 08, 2010 3:28 pm
by Codex
I hope this works cause it sounds good. I have tried many tutorials on YouTube but haven't succeeded.

Re: Automatic Updates

Posted: Thu Jun 10, 2010 4:34 pm
by Codex
Umm... There is an error it automatically downloads the file in the
updatedownload.html
file. it doesn't check if it is a newer or same version in the
version.html
file...

Can anyone help me :?: :?: :?: :?: :?: