I have my installer set up to download Y.txt, compare it with file X.txt (already in the directory the installer is in) If they're different, it will delete file X.txt and rename Y.txt to X.txt
For some reason using these commands won't work:
I'm guessing that it requires the absolute directory and I don't know what that directory is because they can put it in any directory.
Section
Delete "X.txt"
Rename "Y.txt" "X.txt"
Quit
SectionEnd