title: How to create SharePoint 2010 Installer/MSI
body: <p>I have developed a sharepoint 2010 visual webpart application with multiple visual webparts using visual studio 2010. I am able to deploy it successfully to Production server using commands given below:</p>
  
  <pre><code>Add-SPSolution c:\sp\MySampleProject.wsp
  Install-SPSolution -Identity MySampleProject.wsp -WebApplication https://MYURL -GACDeployment
  </code></pre>
  
  <p>In my visual webparts, I am referencing some of the sharepoint custom LISTs and doing  add/update operations with list items. Now If I deploy the webpart manually using the commands above, I also need to create all of the reference LISTS at production server. For this what I do, i just take list template to production and replicates the list structure to production.</p>
  
  <p>Is there any way, I could create a auto installer(EXE SETUP or MSI) that should be able to create all the lists as well as deploy all of the webparts to production server. I know this can be done, as whenever we purchase some third party webparts from other vendors, they provide us MSI or other executables that we just execute, and it does everything for US. But I am not sure how to do it. What tool they use to develop these kind of installers.</p>
  
  <p>Any HELP or suggestion ? ?  </p>