Jump to content

Recommended Posts

Posted (edited)

_UpdateCheck is a small udf for checking for updates for your app. It uses a file hosted on a remote server in the format of the following.

Version=1.7

The following example code would do the following:

1.Check version stored in "http://lyrictoy.googlecode.com/files/update.txt"

2.If the current version is not the one stored in the file then it would pop up a messagebox allowing you to go to the site and download it.

#Include<_updatecheck.au3> 
_UpdateCheck("http://lyrictoy.googlecode.com/files/update.txt", "1.0", "LyricToy", "http://lyrictoy.googlecode.com")

Get It here.

Edited by FuryCell
HKTunes:Softpedia | GoogleCodeLyricToy:Softpedia | GoogleCodeRCTunes:Softpedia | GoogleCodeMichtaToolsProgrammer n. - An ingenious device that turns caffeine into code.
Posted

Nice idea! Thanks! :)

Any plans to be able to do an "in-place" update of the running script?

(If the user answeres YES, do the download from within the script, evtl. with progress bar, and than run the new script).

For this, probably an update script must be used to exit the current one, replace the old with the new and call (execute) the new one.

Just an idea - will be more complex for zipped downloads or installer packages.

Thanks again,

Martini

Posted (edited)

Works Great!! Thank You for sharing!!

Glad you like it.

that's really cool, side note how do you get the update.txt do not show on code.google?

Add the deprecated tag to update.txt when you upload it to google.

Nice idea! Thanks! :)

Any plans to be able to do an "in-place" update of the running script?

(If the user answeres YES, do the download from within the script, evtl. with progress bar, and than run the new script).

For this, probably an update script must be used to exit the current one, replace the old with the new and call (execute) the new one.

Just an idea - will be more complex for zipped downloads or installer packages.

Thanks again,

Martini

Sounds like it could be added at some point.

Edited by P5ych0Gigabyte
HKTunes:Softpedia | GoogleCodeLyricToy:Softpedia | GoogleCodeRCTunes:Softpedia | GoogleCodeMichtaToolsProgrammer n. - An ingenious device that turns caffeine into code.
  • 5 months later...

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...