Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Downloads:

146,652

Downloads of v 14.0.23107.0:

5,693

Last Update:

20 Jul 2015

Package Maintainer(s):

Software Author(s):

  • Microsoft

Tags:

microsoft visual studio 2015 community ide

Visual Studio 2015 Community

This is not the latest version of Visual Studio 2015 Community available.

  • 1
  • 2
  • 3

14.0.23107.0 | Updated: 20 Jul 2015

Downloads:

146,652

Downloads of v 14.0.23107.0:

5,693

Software Author(s):

  • Microsoft

Visual Studio 2015 Community 14.0.23107.0

This is not the latest version of Visual Studio 2015 Community available.

Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by Microsoft. The inclusion of Microsoft trademark(s), if any, upon this webpage is solely to identify Microsoft goods or services and not for commercial purposes.

  • 1
  • 2
  • 3

Some Checks Are Exempted or Have Failed

Not All Tests Have Passed


Validation Testing Unknown


Verification Testing Exemption:

Requires KB 2919355, which also requires a reboot.

Details

Scan Testing Resulted in Investigate

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install Visual Studio 2015 Community, run the following command from the command line or from PowerShell:

>

To upgrade Visual Studio 2015 Community, run the following command from the command line or from PowerShell:

>

To uninstall Visual Studio 2015 Community, run the following command from the command line or from PowerShell:

>

Deployment Method:

NOTE

This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade visualstudio2015community -y --source="'INTERNAL REPO URL'" --version="'14.0.23107.0'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade visualstudio2015community -y --source="'INTERNAL REPO URL'" --version="'14.0.23107.0'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install visualstudio2015community
  win_chocolatey:
    name: visualstudio2015community
    version: '14.0.23107.0'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'visualstudio2015community' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '14.0.23107.0'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller visualstudio2015community
{
    Name     = "visualstudio2015community"
    Version  = "14.0.23107.0"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'visualstudio2015community':
  ensure   => '14.0.23107.0',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Package Approved

This package was approved by moderator gep13 on 30 Jul 2015.

Description

Overview

Free, full-featured and extensible tool for developers building non-enterprise applications.

  • Full-featured Integrated Development Environment for building Web, Windows Desktop and cross-platform iOS, Android, and Windows apps.
  • Ecosystem with thousands of extensions to choose from in the Visual Studio Gallery, or create your own.
  • Free for open source projects, academic research, training, education and small professional teams.

Customizations

You can customize the installation either by adding optional available features or by specifying own installation configuration file.

Adding optional features

Optional features (Sql tools, phone tools, etc.) are available but not installed by default.
You can provide optional parameters to include them during the install.
Here is example that includes the Sql Tools and Windows Phone Emulators:

choco install VisualStudio2015Community -packageParameters "--Features SQL,WindowsPhone81Emulators"

Available features:
  • MDDCPlusPlus
  • MDDJS
  • SilverLight_Developer_Kit
  • SQL
  • ToolsForWin81_WP80_WP81
  • VC_MFC_Libraries
  • WindowsPhone81Emulators

Using own configuration file

Specifying the optional features above modifies the configuration file used during installation (AdminDeployment.xml). If that is not enough you can provide this file on your own.
Examples:

choco install VisualStudio2015Community -packageParameters "--AdminFile c:\path to your\AdminDeployment.xml"
choco install VisualStudio2015Community -packageParameters "--AdminFile http://path/to/your/AdminDeployment.xml"


Tools\AdminDeployment.xml
<?xml version="1.0" encoding="utf-8"?>
<AdminDeploymentCustomizations xmlns="http://schemas.microsoft.com/wix/2011/AdminDeployment">
  <BundleCustomizations TargetDir="default" NoWeb="default" />
  <SelectableItemCustomizations>
    <SelectableItemCustomization Id="VC_MFC_Libraries" Hidden="no" Selected="no" />
    <SelectableItemCustomization Id="SQL" Hidden="no" Selected="no" />
    <SelectableItemCustomization Id="WebTools" Hidden="no" Selected="yes" />
    <SelectableItemCustomization Id="MDDCPlusPlus" Hidden="no" Selected="no" />
    <SelectableItemCustomization Id="MDDJS" Hidden="no" Selected="no" />
    <SelectableItemCustomization Id="SilverLight_Developer_Kit" Hidden="no" Selected="no" />
    <SelectableItemCustomization Id="ToolsForWin81_WP80_WP81" Hidden="no" Selected="no" />
    <SelectableItemCustomization Id="WindowsPhone81Emulators" Hidden="no" Selected="no" />

    <SelectableItemCustomization Id="ModernBlendHidden" Selected="yes" />
    <SelectableItemCustomization Id="BlissHidden" Selected="yes" />
    <SelectableItemCustomization Id="HelpHidden" Selected="yes" />
    <SelectableItemCustomization Id="LocalDBHidden" Selected="yes" />
    <SelectableItemCustomization Id="NetFX4Hidden" Selected="yes" />
    <SelectableItemCustomization Id="NetFX45Hidden" Selected="yes" />
    <SelectableItemCustomization Id="PortableDTPHidden" Selected="yes" />
    <SelectableItemCustomization Id="PreEmptiveDotfuscatorHidden" Selected="yes" />
    <SelectableItemCustomization Id="PreEmptiveAnalyticsHidden" Selected="yes" />
    <SelectableItemCustomization Id="ProfilerHidden" Selected="yes" />
    <SelectableItemCustomization Id="ReportingHidden" Selected="yes" />
    <SelectableItemCustomization Id="RoslynLanguageServices" Selected="yes" />
    <SelectableItemCustomization Id="SDKTools3Hidden" Selected="yes" />
    <SelectableItemCustomization Id="SDKTools4Hidden" Selected="yes" />
    <SelectableItemCustomization Id="Silverlight5DRTHidden" Selected="yes" />
    <SelectableItemCustomization Id="SQLCEHidden" Selected="yes" />
    <SelectableItemCustomization Id="SQLCLRTypesHidden" Selected="yes" />
    <SelectableItemCustomization Id="SQLDOMHidden" Selected="yes" />
    <SelectableItemCustomization Id="SQLSharedManagementObjectsHidden" Selected="yes" />
    <SelectableItemCustomization Id="TSQLHidden" Selected="yes" />
    <SelectableItemCustomization Id="VCToolsHidden" Selected="yes" />
    <SelectableItemCustomization Id="VCCRTHidden" Selected="yes" />
    <SelectableItemCustomization Id="VCLibsHidden" Selected="yes" />
    <SelectableItemCustomization Id="VCDebugHidden" Selected="yes" />
    <SelectableItemCustomization Id="WCFDataServicesHidden" Selected="yes" />
    <SelectableItemCustomization Id="Windows_EspCHidden" Selected="yes" />
    <SelectableItemCustomization Id="Windows_EspC_LPCHidden" Selected="yes" />
    <SelectableItemCustomization Id="WinBlue_Runtime_IntellisenseHidden" Selected="yes" />
    <SelectableItemCustomization Id="WinBlue_SDK_App_Cert_Kit_x64Hidden" Selected="yes" />
    <SelectableItemCustomization Id="WinBlue_SDK_App_Cert_Kit_x86Hidden" Selected="yes" />
    <SelectableItemCustomization Id="WinBlue_SDK_DesktopHidden" Selected="yes" />
    <SelectableItemCustomization Id="WinBlue_SDK_DX_Redist_x64Hidden" Selected="yes" />
    <SelectableItemCustomization Id="WinBlue_SDK_DX_Redist_x86Hidden" Selected="yes" />
    <SelectableItemCustomization Id="WinBlue_MetroSDKHidden" Selected="yes" />
    <SelectableItemCustomization Id="WinBlue_SDK_Metro_DX_Redist_x64Hidden" Selected="yes" />
    <SelectableItemCustomization Id="WinBlue_SDK_Metro_DX_Redist_x86Hidden" Selected="yes" />
  </SelectableItemCustomizations>
</AdminDeploymentCustomizations>
Tools\ChocolateyInstall.ps1
Import-Module (Join-Path $(Split-Path -parent $MyInvocation.MyCommand.Definition) 'VSModules.psm1')

Install-VS 'VisualStudio2015Community' 'http://download.microsoft.com/download/0/B/C/0BC321A4-013F-479C-84E6-4A2F90B11269/vs_community.exe'
Tools\ChocolateyUninstall.ps1
Import-Module (Join-Path $(Split-Path -parent $MyInvocation.MyCommand.Definition) 'VSModules.psm1')

Uninstall-VS 'VisualStudio2015Community' 'Microsoft Visual Studio Community 2015' 'vs_community.exe'
Tools\VSModules.psm1
# Parse input argument string into a hashtable
# Format: /AdminFile:file location /Features:WebTools,Win8SDK /ProductKey:AB-D1
function Parse-Parameters ($s)
{
    $parameters = @{ }

    if (!$s)
    {
        Write-Debug "No package parameters."
        return $parameters
    }

    Write-Debug "Package parameters: $s"
    $s = ' ' + $s
    [String[]] $kvpPrefix = @(" --")
    $kvpDelimiter = ' '

    $kvps = $s.Split($kvpPrefix, [System.StringSplitOptions]::RemoveEmptyEntries)
    foreach ($kvp in $kvps)
    {
        Write-Debug "Package parameter kvp: $kvp"
        $delimiterIndex = $kvp.IndexOf($kvpDelimiter)
        if (($delimiterIndex -le 0) -or ($delimiterIndex -ge ($kvp.Length - 1))) { continue }

        $key = $kvp.Substring(0, $delimiterIndex).Trim().ToLower()
        if ($key -eq '') { continue }
        $value = $kvp.Substring($delimiterIndex + 1).Trim()

        Write-Debug "Package parameter: key=$key, value=$value"
        $parameters.Add($key, $value)
    }

    return $parameters
}

# Generates customizations file. Returns its path
function Generate-Admin-File($parameters, $defaultAdminFile)
{
    $adminFile = $parameters['AdminFile']
    $features = $parameters['Features']
    if (!$adminFile -and !$features)
    {
        return $null
    }

    $localAdminFile = (Join-Path $env:temp 'AdminDeployment.xml')
    if (Test-Path $localAdminFile)
    {
        Remove-Item $localAdminFile
    }

    if ($adminFile)
    {
        if (Test-Path $adminFile)
        {
            Copy-Item $adminFile $localAdminFile -force
        }
        else
        {
            if (($adminFile -as [System.URI]).AbsoluteURI -ne $null)
            {
                Get-ChocolateyWebFile 'adminFile' $localAdminFile $adminFile
            }
            else
            {
                throw 'Invalid AdminFile setting.'
            }
        }
    }
    elseif ($features)
    {
        Copy-Item $defaultAdminFile $localAdminFile -force
    }

    return $localAdminFile
}

# Turns on features in the customizations file
function Update-Admin-File($parameters, $adminFile)
{
    if (!$adminFile) { return }
    $s = $parameters['Features']
    if (!$s) { return }

    $features = $s.Split(',')
    [xml]$xml = Get-Content $adminFile

    foreach ($feature in $features)
    {
        $node = $xml.DocumentElement.SelectableItemCustomizations.ChildNodes | ? {$_.Id -eq "$feature"}
        if ($node -ne $null)
        {
            $node.Selected = "yes"
        }
    }
    $xml.Save($adminFile)
}

function Generate-Install-Arguments-String($parameters, $adminFile)
{
    $s = "/Passive /NoRestart /Log $env:temp\vs.log"

    if ($adminFile)
    {
        $s = $s + " /AdminFile $adminFile"
    }

    $pk = $parameters['ProductKey']
    if ($pk)
    {
        $s = $s + " /ProductKey $pk"
    }

    return $s
}

function Install-VS {
<#
.SYNOPSIS
Installs Visual Studio

.DESCRIPTION
Installs Visual Studio with ability to specify additional features and supply product key.

.PARAMETER PackageName
The name of the VisualStudio package - this is arbitrary.
It's recommended you call it the same as your nuget package id.

.PARAMETER Url
This is the url to download the VS web installer.

.EXAMPLE
Install-VS 'VisualStudio2015Community' 'http://download.microsoft.com/download/zzz/vs_community.exe'

.OUTPUTS
None

.NOTES
This helper reduces the number of lines one would have to write to download and install Visual Studio.
This method has no error handling built into it.

.LINK
Install-ChocolateyPackage
#>
param(
  [string] $packageName,
  [string] $url
)
    Write-Debug "Running 'Install-VS' for $packageName with url:`'$url`'";

    $installerType = 'exe'
    $validExitCodes = @(
        0, # success
        3010, # success, restart required
        2147781575, # pending restart required
        -2147185721 # pending restart required
    )

    $defaultAdminFile = (Join-Path $PSScriptRoot 'AdminDeployment.xml')
    Write-Debug "Default AdminFile: $defaultAdminFile"

    $packageParameters = Parse-Parameters $env:chocolateyPackageParameters
    if ($packageParameters.Length -gt 0) { Write-Output $packageParameters }

    $adminFile = Generate-Admin-File $packageParameters $defaultAdminFile
    Write-Debug "AdminFile: $adminFile"

    Update-Admin-File $packageParameters $adminFile

    $silentArgs = Generate-Install-Arguments-String $packageParameters $adminFile

    Write-Output "Install-ChocolateyPackage $packageName $installerType $silentArgs $url -validExitCodes $validExitCodes"
    Install-ChocolateyPackage $packageName $installerType $silentArgs $url -validExitCodes $validExitCodes
}

function Uninstall-VS {
<#
.SYNOPSIS
Uninstalls Visual Studio

.DESCRIPTION
Uninstalls Visual Studio.

.PARAMETER PackageName
The name of the VisualStudio package.

.PARAMETER ApplicationName
The VisualStudio app name - i.e. 'Microsoft Visual Studio Community 2015'.

.PARAMETER UninstallerName
This name of the installer executable - i.e. 'vs_community.exe'.

.EXAMPLE
Uninstall-VS 'VisualStudio2015Community' 'Microsoft Visual Studio Community 2015' 'vs_community.exe'

.OUTPUTS
None

.NOTES
This helper reduces the number of lines one would have to write to uninstall Visual Studio.
This method has no error handling built into it.

.LINK
Uninstall-ChocolateyPackage
#>
param(
  [string] $packageName,
  [string] $applicationName,
  [string] $uninstallerName
)
    Write-Debug "Running 'Uninstall-VS' for $packageName with url:`'$url`'";

    $installerType = 'exe'
    $silentArgs = '/Uninstall /force /Passive /NoRestart'

    $app = Get-WmiObject -Class Win32_Product | Where-Object { $_.Name -like "$applicationName*"} | Sort-Object { $_.Name } | Select-Object -First 1
    if ($app -ne $null)
    {
        $uninstaller = Get-Childitem "$env:ProgramData\Package Cache\" -Recurse -Filter $uninstallerName | ? { $_.VersionInfo.ProductVersion.StartsWith($app.Version)}
        if ($uninstaller -ne $null)
        {
            Uninstall-ChocolateyPackage $packageName $installerType $silentArgs $uninstaller.FullName
        }
    }
}

Export-ModuleMember Install-VS, Uninstall-VS

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
Visual Studio 2015 Community Update 3 2015.03.02 60655 Monday, August 15, 2016 Approved
Visual Studio 2015 Community Update 3 2015.03.01 2224 Wednesday, June 29, 2016 Approved
Visual Studio 2015 Community Update 2 14.0.25123.01 461 Monday, June 27, 2016 Approved
Visual Studio 2015 Community Update 2 14.0.25123.00 1359 Thursday, April 7, 2016 Approved
Visual Studio 2015 Community Update 1 14.0.24720.01 2133 Wednesday, February 17, 2016 Approved
Visual Studio 2015 Community 14.0.23107.0 5693 Monday, July 20, 2015 Approved

This package has no dependencies.

Discussion for the Visual Studio 2015 Community Package

Ground Rules:

  • This discussion is only about Visual Studio 2015 Community and the Visual Studio 2015 Community package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Visual Studio 2015 Community, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus