private static IEssexInstaller ApplicationAssemblies(Assembly rootAssembly, InstallerFactory installerFactory) { HashSet<Assembly> set = new HashSet<Assembly>(ReflectionUtil.GetApplicationAssemblies(rootAssembly)); CompositeInstaller installer = new CompositeInstaller(); foreach (Assembly assembly in set) { if (assembly == typeof(FromAssembly).Assembly) { continue; } installer.Add(Instance(assembly, installerFactory)); } return installer; }