Jump to content

Recommended Posts

Posted (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 by APRES
  • Moderators
Posted

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.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...