title: How to create a runnable setup out of bootstrapper packages?
body: <p>I would like to install a .NET 4.0 application on the user's machine that does not meet certain prerequisites.</p>
  
  <p>I need to be able to define the <strong>installation order</strong> of these prerequisites in my installer, because they depend on each other (.NET 4.0, Windows Installer 4.5, SQL Server 2008 R2 and others).</p>
  
  <p>AFAIK this is doable via the following ways:</p>
  
  <ol>
  <li><p>Creating a custom bootstrapper and include it as a prerequisite in my Visual Studio Setup Project: I'm doing silent installations so I can't provide appropriate feedback to the user this way. I don't want to do this.</p></li>
  <li><p>Using tools like <a href="http://dotnetinstaller.codeplex.com/" rel="nofollow noreferrer">dotNetInstaller</a>.</p></li>
  <li><p>Creating a custom installer, that installs all the prerequisites in the correct order and finally the application itself.</p></li>
  </ol>
  
  <p>However I would like to use the install conditions defined in the default bootstrapper packages found usually under the following path: c:\Program Files\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages\</p>
  
  <p>So my question is: how can I make a single executable out of a bootstrapper package that uses the installation conditions (recreating them would be bothersome) defined in the XML files? I would like to use this single executable with dotNetInstaller or my custom installer.</p>
  
  <p>Alternatively how can I tell dotNetInstaller to use these packages instead of having to recreate all the install conditions manually?</p>