Jump to content
Sign in to follow this  

Auto update script

Recommended Posts



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 by APRES

Share this post

Link to post
Share on other sites

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.

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this