title: How to develop a program that install SQL Express and add a database in it
body: <p>I would need to create a program that only install SQL Express and install a database at the same time (either from a bak or mdf, whichever is prefered) At the end of the creation, this program would generate a text file.</p>
  
  <p>I found on the web how to install SQL Express, but I can't seem to find anything to add a database after the installation.</p>
  
  <p>So far I don't have anything to install else than that because the application that will use the application will be installed on another machine.</p>
  
  <p>Thanks</p>