System.Configuration.Install.Installer.Context Property

Gets or sets information about the current installation.

Syntax

[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public InstallContext Context { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The Installer.Context property contains installation information. For example, information about the location of the log file for the installation, the location of the file to save information required by the Installer.Uninstall(IDictionary) method, and the command line that was entered when the installation executable was run.

The program that calls the Installer.Install(IDictionary), Installer.Commit(IDictionary), Installer.Rollback(IDictionary), or Installer.Uninstall(IDictionary) methods sets the Installer.Context property with information that the methods need.

If an installer belongs to an installer collection, the parent installer sets the Installer.Context property before calling any of these methods. The parent installer can be accessed through the Installer.Parent property.

Requirements

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