title: WiX to create a simple installer and merge module for my C# application
body: <p>I am new to software development (though not programming). I am in the process of delivering my first application for commercial release, and I am in need of a single-click installer package. I looked into a number of solutions - I coded my own in C# (it basically just grabs my three folders to their respective destinations), but ran into some issues with bundling some IO libraries. Since I am using Visual Studio Express 2012, I cannot use the InstallShield module. I found WiX, and while it has some tutorials online, the learning curve of this service is pretty high - it's safe to say I am pretty confused.</p>
  
  <p>I have three folders:</p>
  
  <ol>
  <li>myApplication2013 folder</li>
  <li>myApplication2014 folder</li>
  <li>System.Data.SQLite.dll</li>
  </ol>
  
  <p>The logic of my C# code is the following:</p>
  
  <pre><code>public static void installer(){
          deleteLegacyFiles(); // deletes legacy myApplication directories and files
          moveSQLite(); // moves system.data.sqlite database to directory
          if(checkRevit2013()){ // install myApplication 2013 if Revit 2013 is installed
              moveMyApplication2013();
          }else if(checkRevit2014()){ // if Revit 2014 is installed, install myApplication 2014
              moveTally2014();
          }else{ // tell user both Revit 2014 and Revit 2013 is not installed
              System.out.println("It does not look like you have either Revit 2013 or Revit 2014 installed.");
          }
      }
  </code></pre>
  
  <p>The target location will be specified by the .msi, as for the target locations:</p>
  
  <ol>
  <li>myApplication-2013 is: <code>C:\\ProgramData\\Autodesk\\REVIT\\Addins\\2013</code></li>
  <li>myApplication-2014 is: <code>C:\\ProgramData\\Autodesk\\REVIT\\Addins\\2014</code></li>
  <li>System.Data.SQLite.dll is: <code>C:\\Windows\\Microsoft.NET\\assembly\\GAC_64</code></li>
  </ol>
  
  <p>What the installer really does is it takes the source folders/files (from the 3 above) and literally copies them to the target location. This is also what my C# script does (though it uses the IO library). What are the steps I need to for WiX? I am so confused.</p>
  
  <p>I also need to create a merge module.</p>
  
  <p>Thank you.</p>