APRES Posted August 24, 2007 Share Posted August 24, 2007 (edited) Hello, I'd like to have a script that can autoupdate itself from the shared map (this is the program that is being updated almost daily and it is good that every PC in the company has last version without that user has to do anything). I thought to realize it as follow: program.exe : put to Start Up so it is starting when the PC is being started. Program.exe does its work (on hotkey events), every hour checks if the update is available. If there is an update - call updater.exe, Stop itself. updater.exe : Copy new version of program.exe overwriting the old one. Start program.exe. Stop itself. Is that a correct way? And how could I best realize the "regular check"? I mean call the updater.exe every hour from running program.exe. Thank you. Edited August 24, 2007 by APRES Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted August 24, 2007 Moderators Share Posted August 24, 2007 Time and date functions? The example script forum has examples of updaters. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. 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