User372121194 posted
Hi,
Based on my understanding, you want to create new Database for your web site when you run the Web Setup of your web application on the server. If I have misunderstood you, please feel free to let me know.
You can create custom action to create new Database while installing. To do so, you need to create a text file that contains a SQL statement to create a database and need to know the connection string used to connect server and the user should have proper
permission on server, and then you can execute SQL statement to create database in custom action.
For more information, see
http://msdn.microsoft.com/en-us/library/49b92ztk.aspx
I hope this helps.