I need an upgrade script to follow these steps
1. Check for updates (new versions) via [url removed, login to view] script
2. If script has a new version then administrator of site will to receive the email
3. Administrator of his site asks you for a new version.
4. You make a archive(rar/zip/etc) and send to him
5. He put this archive into update folder and then script do:
1. Remove old Files (with instructions to buyers)
2. Replace all php files on master
3. Update database (add columns, change something, etc)
4. give output and done message
Please state when you can start and if you have had experience working with an upgrade script if so, please show examples.