I was updating my AutoIt install just now, and checking the revision history I saw this:
Fixed #3606: CheckForUpdates : Extras\AutoUpdateIt\AutoUpdateIt.au3 script.
And I thought, “Wow, are they still including that update script I wrote a million years ago?”
A bunch of the code has changed around. People have added new features and updated for new spec, but then there’s some of my old code still intact that should have been updated long ago.
For example, this function should have been replaced with ShellExecute() (which was added in 2013):
I also found the forum thread where Jon (the creator of AutoIt) originally asked for people to come up with an auto update kind of script. And then I found the actual post where he started including it with the installer, from 2005. Oh it makes a guy feel old. ;)