SnapInInstaller.Install Method (IDictionary)
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.
Assembly: Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)
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 )
An IDictionary value used to save information that is needed to perform a rollback or uninstall operation.
The stateSaver parameter is a null reference (Nothing in Visual Basic .NET).
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.
For a detailed description of the installation methods, see the Installer.
Return to top