Gets or sets information about the current installation.
[Visual Basic] Overridable Public Property Context As InstallContext [C#] public InstallContext Context {virtual get; virtual set;} [C++] public: __property virtual InstallContext* get_Context(); public: __property virtual void set_Context(InstallContext*); [JScript] public function get Context() : InstallContext; public function set Context(InstallContext);
An InstallContext that contains information about the current installation.
This property contains information that is used by the Install, Commit, Rollback, and Uninstall methods of this instance; it is set by the program that calls these methods. If an installer is contained in an installer collection, the Parent installer sets the Context property before calling one of these methods.
An InstallContext contains a parsed version of the command line that was entered when the installation executable was run. It contains information such as the path to a log file, whether to display log information on the console, and whether to show a user interface during the installation.
Installer Class | Installer Members | System.Configuration.Install Namespace | Parent | Install | Commit | Rollback | Uninstall