IVsExtensionManager.InstallAsync Method (IInstallableExtension, Boolean)
Asynchronously installs an extension to the ExtensionsRoot directory. Installations that are invoked by using this method cannot be canceled.
Assembly: Microsoft.VisualStudio.ExtensionManager (in Microsoft.VisualStudio.ExtensionManager.dll)
The extension to be installed. This must be an extension that was created from a VSIX package.
Specifies whether an extension should be installed on a per-computer basis or only for the current user.
Although this API supports the Extension Manager infrastructure, we recommend that you do not use it because it is subject to change.