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 application.
Now your build with your required prerequisites in it.
Hope this helps.