HelpersInstallChocolateyVsixPackage - Nilzor/chocolatey GitHub Wiki

##Install-ChocolateyVsixPackage ##New as of v0.9.8.20.

Install-ChocolateyVsixPackage $packageName $vsixUrl $vsVersion

##Description Downloads and installs a VSIX package for Visual Studio. You do not need to surround this with try catch if it is the only thing in your chocolateyInstall.ps1.

VSIX packages are Extensions for the Visual Studio IDE. The Visual Studio Gallery at http://visualstudiogallery.msdn.microsoft.com/ is the public extension feed and hosts thousands of extensions. You can locate a VSIX Url by finding the download link of Visual Studio extensions on the Visual Studio Gallery.

##Parameters ###$packageName This is an arbitrary name.
Example: '7zip'

###$vsixUrl The URL of the package to be installed. Example: http://visualstudiogallery.msdn.microsoft.com/ea3a37c9-1c76-4628-803e-b10a109e7943/file/73131/1/AutoWrockTestable.vsix

###$vsVersion The Major version number of Visual Studio where the package should be installed. This is optional. If not specified, the most recent Visual Studio installation will be targeted.

##Examples Install-ChocolateyVsixPackage "MyPackage" http://visualstudiogallery.msdn.microsoft.com/ea3a37c9-1c76-4628-803e-b10a109e7943/file/73131/1/AutoWrockTestable.vsix

This downloads the AutoWrockTestable VSIX from the Visual Studio Gallery and installs it to the latest version of VS.

Install-ChocolateyVsixPackage "MyPackage" http://visualstudiogallery.msdn.microsoft.com/ea3a37c9-1c76-4628-803e-b10a109e7943/file/73131/1/AutoWrockTestable.vsix 11

This downloads the AutoWrockTestable VSIX from the Visual Studio Gallery and installs it to Visual Studio 2012 (v11.0).

Helper Reference