Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Writes settings into the registry. This method overrides the virtual Install method for Installer class. For each snap-in that is defined in the loaded assembly, reflection is used to get registration information such as their node types, their snap-in identities, and other information. These settings are then written to the registry. If a rollback is required, previous settings are stored in the supplied IDictionary value.
Namespace: Microsoft.ManagementConsole
Assembly: Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)
Syntax
public override void Install(
IDictionary stateSaver
)
public:
virtual void Install(
IDictionary^ stateSaver
) override
override Install :
stateSaver:IDictionary -> unit
Public Overrides Sub Install (
stateSaver As IDictionary
)
Parameters
stateSaver
Type: System.Collections.IDictionaryAn IDictionary value used to save information that is needed to perform a rollback or uninstall operation.
Exceptions
Exception | Condition |
---|---|
ArgumentException | The stateSaver parameter is a null reference (Nothing in Visual Basic .NET). |
Exception | An exception occurred in the BeforeInstall event handler of one of the installers in the collection. -or- An exception occurred in the AfterInstall event handler of one of the installers in the collection. |
Remarks
For a detailed description of the installation methods, see the Installer.
See Also
Installer
SnapInInstaller Class
Microsoft.ManagementConsole Namespace
Return to top