Downloads:

90,567

Downloads of v 14.0.23107.0:

4,847

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.

14.0.23107.0 | Updated: 20 Jul 2015

Downloads:

90,567

Downloads of v 14.0.23107.0:

4,847

Software Author(s):

  • Microsoft

Visual Studio 2015 Community 14.0.23107.0

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

This Package Contains an Exempted Check

1 Test Unknown and 1 Exempted Test


Validation Testing Unknown


Verification Testing Exempt:

Requires KB 2919355, which also requires a reboot.

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:

>

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

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • 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://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. Enter your internal repository url

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

4. Choose your deployment method:


choco upgrade visualstudio2015community -y --source="'STEP 3 URL'" [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="'STEP 3 URL'"
$exitCode = $LASTEXITCODE

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

Exit $exitCode

- name: Ensure visualstudio2015community installed
  win_chocolatey:
    name: visualstudio2015community
    state: present
    version: 14.0.23107.0
    source: STEP 3 URL

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

Coming early 2020! Central Managment Reporting available now! More information...


chocolatey_package 'visualstudio2015community' do
  action    :install
  version  '14.0.23107.0'
  source   'STEP 3 URL'
end

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


Chocolatey::Ensure-Package
(
    Name: visualstudio2015community,
    Version: 14.0.23107.0,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller visualstudio2015community
{
   Name     = 'visualstudio2015community'
   Ensure   = 'Present'
   Version  = '14.0.23107.0'
   Source   = 'STEP 3 URL'
}

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


package { 'visualstudio2015community':
  provider => 'chocolatey',
  ensure   => '14.0.23107.0',
  source   => 'STEP 3 URL',
}

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


salt '*' chocolatey.install visualstudio2015community version="14.0.23107.0" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

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.

Version Downloads Last Updated Status
Visual Studio 2015 Community Update 3 2015.03.02 60436 Monday, August 15, 2016 Approved
Visual Studio 2015 Community Update 3 2015.03.01 2065 Wednesday, June 29, 2016 Approved
Visual Studio 2015 Community Update 2 14.0.25123.01 283 Monday, June 27, 2016 Approved
Visual Studio 2015 Community Update 2 14.0.25123.00 1140 Thursday, April 7, 2016 Approved
Visual Studio 2015 Community Update 1 14.0.24720.01 1923 Wednesday, February 17, 2016 Approved
Visual Studio 2015 Community 14.0.23107.0 4847 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