Notices: This section not yet converted to new layout. Download stats are rolling back out.

Visual Studio 2013 Update 2

1.0.5

Package test results have failed.

This package was submitted prior to moderation and has not been approved. While it is likely safe for you, there is more risk involved.

Visual Studio 2013 Update 2

To install Visual Studio 2013 Update 2, run the following command from the command line or from PowerShell:

C:\> choco install visualstudio2013-update2

To upgrade Visual Studio 2013 Update 2, run the following command from the command line or from PowerShell:

C:\> choco upgrade visualstudio2013-update2

Files

Hide
  • chocolateyInstall.ps1 Show
    try {
    	$packageName = 'visualstudio2013-update2'
    	$downloadUrl = 'http://download.microsoft.com/download/6/7/8/6783FB22-F77D-45C5-B989-090ED3E49C7C/VS2013.2.exe'
    
    	# NOTE: Borrowed from BoxStarter.Azure
    	if (${env:ProgramFiles(x86)} -ne $null) {
    		$programFiles86 = ${env:ProgramFiles(x86)}
    	} else {
    		$programFiles86 = $env:ProgramFiles
    	}
    
    	Write-Host "Ensuring that Visual Studio 2013 is installed..."
    	if (Test-Path (Join-Path $programFiles86 'Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe')) {
    		Write-Host "Visual Studio 2013 is installed, checking updates..."
    
    		$baseVersion = '12.0.21005'
    		$update1Version = '12.0.30110'
    		$update2Version = '12.0.30324'
    		$currentVersion = (get-itemproperty 'HKLM:\SOFTWARE\Wow6432Node\Microsoft\DevDiv\vs\Servicing\12.0\devenv\1033' 'UpdateVersion').UpdateVersion
    		if ($currentVersion -eq $baseVersion) {
    			throw "Visual Studio updates are cumulative and update 1 is not yet installed..."
    		}
    		elseif ($currentVersion -eq $update1Version) {
    			Write-Host "Installing Visual Studio 2013 update 2..."
    			$logFilePath = Join-Path $env:TEMP 'VS2013.2.log'
    			$installArgs = '/Passive /NoRestart /Log ' + $logFilePath
    			Install-ChocolateyPackage 'VS2013.2.exe' 'exe' $installArgs $downloadUrl -validExitCodes @(0,3010)
    		}
    		elseif ($currentVersion -eq $update2Version) {
    			Write-Host "Visual Studio 2013 Update 2 is already installed."
    		}
    		else {
    			throw "Unexpected Visual Studio 2013 Update version '$($currentVersion)'!"
    		}
    	}
    	else {
    		throw "Visual Studio 2013 is not installed!"
    	}
    
        Write-ChocolateySuccess $packageName
    } catch {
    	Write-ChocolateyFailure $packageName $($_.Exception.Message)
    	if ($logFilePath) {
    		Write-Host "HINT: check log file '$($logFilePath)'."
    	}
    	throw
    }
    
  • chocolateyUninstall.ps1 Show
    try {
    	$packageName = 'visualstudio2013-update2'
    
    	# NOTE: Borrowed from BoxStarter.Azure
    	if (${env:ProgramFiles(x86)} -ne $null) {
    		$programFiles86 = ${env:ProgramFiles(x86)}
    	} else {
    		$programFiles86 = $env:ProgramFiles
    	}
    
    	Write-Host "Checking for Visual Studio 2013..."
    	if (Test-Path (Join-Path $programFiles86 'Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe')) {
    		Write-Host "Visual Studio 2013 is installed, checking updates..."
    
    		$baseVersion = '12.0.21005'
    		$update1Version = '12.0.30110'
    		$update2Version = '12.0.30324'
    		$currentVersion = (get-itemproperty 'HKLM:\SOFTWARE\Wow6432Node\Microsoft\DevDiv\vs\Servicing\12.0\devenv\1033' 'UpdateVersion').UpdateVersion
    		if ($currentVersion -eq $baseVersion) {
    			Write-Host "Visual Studio 2013 Update 2 is not installed."
    		}
    		elseif ($currentVersion -eq $update1Version) {
    			Write-Host "Visual Studio 2013 Update 2 is not installed."
    		}
    		elseif ($currentVersion -eq $update2Version) {
    			Write-Host "Removing Visual Studio 2013 update 2..."
    			$installer = ls (Join-Path $env:ProgramData "Package Cache") -Recurse -Filter 'VS2013.2.exe'
    			$uninstallArgs = '/Uninstall /Force /Passive /NoRestart'
    			Uninstall-ChocolateyPackage '"VS2013.2.exe"' 'exe' $uninstallArgs $installer.FullName -validExitCodes @(0,3010)
    		}
    		else {
    			throw "Unexpected Visual Studio 2013 Update version '$($currentVersion)'!"
    		}
    	}
    	else {
    		Write-Host "Visual Studio 2013 is not installed."
    	}
    
        Write-ChocolateySuccess $packageName
    } catch {
    	Write-ChocolateyFailure $packageName $($_.Exception.Message)
    	throw
    }
    
  • README.txt Show
    * Install fails with exit code -2147185721.
    	Error during install may be due to a pending reboot if Update 1 was installed in the same operation.
    	See: http://blogs.msdn.com/b/heaths/archive/2014/04/17/error-in-installation-log-for-visual-studio-2013-update-2-rc-can-be-misleading.aspx
    

Virus Scan Results

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.

Dependencies

Package Maintainer(s)

Software Author(s)

  • Microsoft

Tags

Version History

Version Downloads Last updated Status
Visual Studio 2013 Update 2 1.0.4 433 Monday, May 19, 2014  
Visual Studio 2013 Update 2 1.0.3-rc 283 Wednesday, May 7, 2014  
Visual Studio 2013 Update 2 1.0.2-rc 282 Friday, May 2, 2014  
Visual Studio 2013 Update 2 RC 1.0.1-rc 334 Thursday, May 1, 2014  

Discussion for the Visual Studio 2013 Update 2 Package

Ground rules:

  • This discussion is only about Visual Studio 2013 Update 2 and the Visual Studio 2013 Update 2 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 2013 Update 2, 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
Chocolatey.org uses cookies to enhance the user experience of the site.
Ok