1 // System.Configuration.Install.Installer.cs
4 // Alejandro Sánchez Acosta <raciel@es.gnu.org>
6 // Alejandro Sánchez Acosta
9 using System.Collections;
10 using System.ComponentModel;
11 using System.ComponentModel.Design;
13 namespace System.Configuration.Install
15 [DefaultEvent("AfterInstall")]
17 // .NET 2.0 (Community Preview) no longer has this attribute
18 [Designer("Microsoft.VisualStudio.Configuration.InstallerDesigner, " + Consts.AssemblyMicrosoft_VisualStudio, typeof(IRootDesigner))]
20 public class Installer : Component
22 private InstallContext context;
23 private string helptext;
24 private InstallerCollection installers;
25 internal Installer parent;
29 throw new NotImplementedException ();
32 [DesignerSerializationVisibility (DesignerSerializationVisibility.Hidden)]
33 [BrowsableAttribute(false)]
34 public InstallContext Context {
44 public virtual string HelpText {
50 [DesignerSerializationVisibility (DesignerSerializationVisibility.Content)]
51 [BrowsableAttribute(false)]
52 public InstallerCollection Installers {
58 [TypeConverter ("System.Configuration.Design.InstallerParentConverter")]
59 [DesignerSerializationVisibility (DesignerSerializationVisibility.Hidden)]
60 [BrowsableAttribute (false)]
61 public Installer Parent {
72 public virtual void Commit (IDictionary savedState)
74 throw new NotImplementedException ();
78 public virtual void Install (IDictionary stateSaver)
80 throw new NotImplementedException ();
84 protected virtual void OnAfterInstall (IDictionary savedState)
86 throw new NotImplementedException ();
90 protected virtual void OnAfterRollback (IDictionary savedState)
92 throw new NotImplementedException ();
96 protected virtual void OnAfterUninstall (IDictionary savedState)
98 throw new NotImplementedException ();
102 protected virtual void OnBeforeInstall (IDictionary savedState)
104 throw new NotImplementedException ();
108 protected virtual void OnBeforeRollback (IDictionary savedState)
110 throw new NotImplementedException ();
114 protected virtual void OnBeforeUninstall (IDictionary savedState)
116 throw new NotImplementedException ();
120 protected virtual void OnCommitted (IDictionary savedState)
122 throw new NotImplementedException ();
126 protected virtual void OnCommitting (IDictionary savedState)
128 throw new NotImplementedException ();
132 public virtual void Rollback (IDictionary savedState)
134 throw new NotImplementedException ();
138 public virtual void Uninstall (IDictionary savedState)
140 throw new NotImplementedException ();
143 public event InstallEventHandler AfterInstall;
145 public event InstallEventHandler AfterRollback;
147 public event InstallEventHandler AfterUninstall;
149 public event InstallEventHandler BeforeInstall;
151 public event InstallEventHandler BeforeRollback;
153 public event InstallEventHandler BeforeUninstall;
155 public event InstallEventHandler Committed;
157 public event InstallEventHandler Committing;