See Also: InstallerCollection Members
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.