title: Creating Setup & Deployment of C# winApp in Visual Studio 2010 with Prerequisites
body: <p>I developed a windows forms application in C# win forms with crystal reports and sql server 2008 database.When i am trying to create setup exe of my application i need some prerequisites to deploy or install this application on client side i.e </p>
  
  <p>List of Prerequisites</p>
  
  <ol>
  <li>.NET Framework 4.0</li>
  <li>SQL Server Express</li>
  <li>Crystal Reports</li>
  <li>Windows Installer</li>
  </ol>
  
  <p>I take a new project from solution Explore>new project>other>setup and deployment>visual studio installer> after doing all this i go to prerequisite dialog box and check the above 4 items in list and mark "Download prerequisites from my application folder option"</p>
  
  <p>but when i try to buid this setup i got these errors</p>
  
  <ol>
  <li>General Failure Building Bootstrapper.</li>
  <li>To enable 'Download prerequisites from the same location as my application' in the Prerequisites dialog box, you must download file 'Crystal Reports for .NET Framework 4.0\CRRuntime_32bit_13_0_10.msi' for item 'SAP Crystal Reports Runtime Engine for .NET Framework' to your local machine. For more information, see <a href="http://go.microsoft.com/fwlink/?LinkId=239883" rel="nofollow">http://go.microsoft.com/fwlink/?LinkId=239883</a>.</li>
  <li>Unrecoverable build error</li>
  </ol>
  
  <p>Please solve this issue .
  Thanks in Advance</p>