I am developing an web application which need to install upon setting it first like that application will run the query and create relationship tables , proedures and other many things in that database. and create connection string which will be later used in interacting with that database.
means user will only enter server name and database name all tables and things should setup on when he click connect button in web application
how i can setup these things in my application.