I have to do four things install .net framework 3.5 ,install SQL Server 2005 and run my sql script on the server and create the database and install my application how to do it in a single setup project using visual studio 2008/2010
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
For the .net Framework you can add
Prerequisitesin your Setup Project. You can find the Prerequisites by right clicking on your Project and choose Properties.When you want to run a SQL Script during installation you need a
Custom Action. There is a nice Walkthrough on MSDN which explaines how to use a custom Action to Create a Database During Installation