See Also: InstallerCollection Members
The System.Configuration.Install.InstallerCollection provides the methods and properties that your application needs to manage a collection of System.Configuration.Install.Installer objects.
Use any of the following three ways to add installers to the collection:
The InstallerCollection.Add(Installer) method adds a single installer to the collection.
The InstallerCollection.AddRange(InstallerCollection) methods add multiple installers to the collection.
The InstallerCollection.Insert(int, Installer) method and the InstallerCollection.Item(int) property, which is the System.Configuration.Install.InstallerCollection indexer, each add a single installer to the collection at the specified index.
Remove installers through the InstallerCollection.Remove(Installer) method. Check whether an installer is in the collection by using the InstallerCollection.Contains(Installer) method. Find where an installer is located in the collection by using the InstallerCollection.IndexOf(Installer) method.
The installers in a collection are run when the installer containing the collection, as specified by the Installer.Parent property, calls their Installer.Install(IDictionary), Installer.Commit(IDictionary), Installer.Rollback(IDictionary), or Installer.Uninstall(IDictionary) methods.
For examples of the usage of an installer collection, see the System.Configuration.Install.AssemblyInstaller and System.Configuration.Install.TransactedInstaller classes.