Reputation: 13842
Is there an API that can be used from .NET code to install/uninstall a Visual Studio Package, for a specific VS version?
The API would take as inputs:
Similarly I'd need also an API that tells me if a specific VS Package is installed or not. the The API would take as inputs:
and would return a boolean: Installed or not
Upvotes: 0
Views: 272
Reputation: 27880
VSIXInstaller.exe can install or uninstall a vsix for for a specific VS version and edition. To check package installation you can use Microsoft.VisualStudio.Shell.Interop.IVsShell.IsPackageInstalled from VS automation engine.
Upvotes: 1