10031992 Posted April 4, 2010 Share Posted April 4, 2010 (edited) Hello everybody I am Trying to Make a script to update my Trainer But I'm not getting, I'm trying to make before opening the program, it checks the version of the program, if the site is newer it updates itself. I have always problem with script updates if someone can help me be grateful scripts below Edited August 28, 2010 by 10031992 -------------------------------------------------------------------------------------------------------------------------------------------- [center][/center][center]Autoit Support Forum in Portuguese | AutoitBrasil.com[/center] [sub]My Script :[/sub]Simples Login for Program Link to comment Share on other sites More sharing options...
Tvern Posted April 4, 2010 Share Posted April 4, 2010 I use the following approach: 1. Host a text file with the versionnumbers of the most recent file(s) 2. Read the textfile with InetRead () 3. Compare version number(s) 4. Download the files to be updated and use a batch file to replace the original with the download. The benefit of this approach is that you won't download a relatively big file if it's not needed and you can do partial updates if only certain parts of a project need updating. I'll see if I can make an universal UDF for this tomorrow. Link to comment Share on other sites More sharing options...
JohnOne Posted April 4, 2010 Share Posted April 4, 2010 Something similar here. UDF by FuryCell AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
10031992 Posted April 6, 2010 Author Share Posted April 6, 2010 I use the following approach:1. Host a text file with the versionnumbers of the most recent file(s)2. Read the textfile with InetRead ()3. Compare version number(s)4. Download the files to be updated and use a batch file to replace the original with the download.The benefit of this approach is that you won't download a relatively big file if it's not needed and you can do partial updates if only certain parts of a project need updating. I'll see if I can make an universal UDF for this tomorrow.Ok, I'll be waitingSincerely JonatasSomething similar here. UDF by FuryCellA doubt, that your code, it has warned that a new version,But he does not download the right file!Only warns and redirects to the download page.Thankss the all for help -------------------------------------------------------------------------------------------------------------------------------------------- [center][/center][center]Autoit Support Forum in Portuguese | AutoitBrasil.com[/center] [sub]My Script :[/sub]Simples Login for Program Link to comment Share on other sites More sharing options...
Valuater Posted April 6, 2010 Share Posted April 6, 2010 Ok... I'll be waiting too! .... Wait, what are we waiting for? 8) Link to comment Share on other sites More sharing options...
tobject Posted April 6, 2010 Share Posted April 6, 2010 (edited) Translation "Waiting" is "Doing" in Brazilian English ;-) Edited April 6, 2010 by tobject Link to comment Share on other sites More sharing options...
10031992 Posted April 7, 2010 Author Share Posted April 7, 2010 He spoke "I'll see if I can make an universal UDF for this tomorrow. " So I wrote it this if I use "InetGet" to download that will give? to implement this script -------------------------------------------------------------------------------------------------------------------------------------------- [center][/center][center]Autoit Support Forum in Portuguese | AutoitBrasil.com[/center] [sub]My Script :[/sub]Simples Login for Program 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