System.Configuration.Install.InstallerCollection Class

Contains a collection of installers to be run during an installation.

See Also: InstallerCollection Members


public class InstallerCollection : CollectionBase


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:

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.


Namespace: System.Configuration.Install
Assembly: System.Configuration.Install (in System.Configuration.Install.dll)
Assembly Versions: 1.0.5000.0,