Automatic Updates
Heres your chance to share your own tutorials with the community. Just post them on here. If your lucky they may even be posted on the main site.
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.
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.
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
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
)
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

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;
this does not work for me it doesn't load my program which needs to update
Nailing my feet to the floor is easier than using my own muscles to balance, but you don't see me doing that 

I hope this works cause it sounds good. I have tried many tutorials on YouTube but haven't succeeded.
We shall let the revolution begin.. the revolution for freedom, freedom against censorship. We shall fight in the fields and in the streets, we shall fight in the hills; we shall never surrender
Umm... There is an error it automatically downloads the file in the
Can anyone help me :?: :?: :?: :?: :?:
updatedownload.htmlfile. it doesn't check if it is a newer or same version in the
version.htmlfile...
Can anyone help me :?: :?: :?: :?: :?:
We shall let the revolution begin.. the revolution for freedom, freedom against censorship. We shall fight in the fields and in the streets, we shall fight in the hills; we shall never surrender
Copyright Information
Copyright © Codenstuff.com 2020 - 2023