How can I make a setup version from my web application that will allow any user who have the required files to :
Provide initial information through a simple interface or editing a file that is required for the website to start (The admin user and password, the production database credentials, etc)
Copy the database schema (my application's ordinary tables + the membership tables)
...There's a point I'd like to learn more about but it's not that important at the moment but if you have a link or an idea, it would be great: how to protect my application from users who might buy it and share a copy of it on the internet or with friends!
EDIT
Sorry for replying this late! I was kinda sick yesterday .. Thanks for your time and I'm commenting on your answers right now :)
EDIT 2
AGAIN! .. for who ever voted down my question, please leave an explanation so people including the question owner would learn or put some light on a confusion .. just down-voting it and run is just about you satisfying your need to down vote a question you think might be worng! =)