Skip to content

Instantly share code, notes, and snippets.

@cammerman
Created February 7, 2011 01:40
Show Gist options
  • Save cammerman/813904 to your computer and use it in GitHub Desktop.
Save cammerman/813904 to your computer and use it in GitHub Desktop.
ProjectInstaller code file
using System.Configuration.Install;
[RunInstaller(true)]
public class ProjectInstaller : Installer
{
public ProjectInstaller()
{
var bootstrapper = new InstallBootstrapper();
var container = bootstrapper.Build();
var installers = container.Resolve<IEnumerable<Installer>>();
Installers.AddRange(
installers.ToArray());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment