in reply to Installation script

Don't forget to adjust/set permissions, check effective and real UIDs, and check disk space requirements/availability.

update
Also, if on a Unix set the umask before doing any creation. Another idea: have your install script write itself a log of each step. Then write an uninstall script that will do the right thing based on that site's particulars.