Last post Aug 26, 2009 11:45 PM by Thomas Sun – MSFT
Aug 22, 2009 12:03 PM|gsudhesh|LINK
i visted the above link about websetup deployment and i tested the asp.net web project without database based on that article is working fine...but i want to use the database with the web project .so my doubt is how to create the primary output and how
to add the custom action...
please clarify my problem........
Aug 26, 2009 11:45 PM|Thomas Sun – MSFT|LINK
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
I hope this helps.