Quote:
Create a web setup project;
Add project output - select your web project - select primary output - click ok
Add project output again - select your web project - select content files - click ok
For adding the prerequisites :
1) Go to Solution Explorer.
2) Right click on setup project.
3) Click on Properties.
4) Click on Prerequisites button.
5) You will get all the Prerequisites installed in your system, out of them select your sql server 2005 & crystal report Check boxes.
6) Below to that, Select second option radio button i.e. Download prerequisites from the same location as my application.
7) Build the Web Application.
Now your build with your required prerequisites in it.
For more info you can go through below links.
creating-web-setup-project-for-aspnet
tip-trick-creating-packaged-asp-net-setup-programs-with-vs
Web-Setup Deployment in VisualStudio2010