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

2,190

Downloads

545

Downloads of v 11.0.1.20151219

1/26/2016

Last update

Visual Studio 2012 - Premium

11.0.1.20151219

Package test results are passing.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved by moderator ferventcoder on 1/26/2016.

This silently installs the 90 day trial (http://msdn.microsoft.com/en-us/library/gg442061.aspx) of Visual Studio Premium along with the Microsoft .Net 4.5 Framework SDK. All Optional Features such as Blend, Sql Dev tools, Web dev tools, etc. are not installed. However, from the "Programs and Features" menu in Windows you can right click Microsoft Visual Studio Ultimate and choose "Change" and then add the features you want. This may take quite a while to install so grab your Chubaka mask and practice your wookie grunts with your co-workers while you wait!
==================OPTIONAL FEATURES==================
All Optional Features such as Blend, Sql Dev tools, Web dev tools, etc. are not installed by default, but you can provide install arguments to add them. Here is an example that includes the Web Tools and SQL features:

cinst VisualStudio2012Premium -packageParameters "/Features:'WebTools SQL' /ProductKey:AB1CD-EF2GH-IJ3KL-MN4OP-QR5ST"

You simply need to send a white space delimited list of the features to install via the packageParameters parameter. Here are the available features:
Blend
LightSwitch
VCMFCLibraries
OfficeTools
SharepointTools
SQL
WebTools
SilverLightDeveloperKit

To install Visual Studio 2012 - Premium, run the following command from the command line or from PowerShell:

C:\> choco install visualstudio2012premium

To upgrade Visual Studio 2012 - Premium, run the following command from the command line or from PowerShell:

C:\> choco upgrade visualstudio2012premium

Files

Hide
  • Tools\AdminDeployment.xml Show
    <?xml version="1.0" encoding="utf-8"?>
    <AdminDeploymentCustomizations xmlns="http://schemas.microsoft.com/wix/2011/AdminDeployment">
       <BundleCustomizations TargetDir="default" NoWeb="yes"/>
       <SelectableItemCustomizations>
         <SelectableItemCustomization Id="WebTools" Hidden="no" Selected="no"/>
         <SelectableItemCustomization Id="SQL" Hidden="no" Selected="no" />
         <SelectableItemCustomization Id="OfficeTools" Hidden="no" Selected="no"/>
         <SelectableItemCustomization Id="SharepointTools" Hidden="no" Selected="no"/>
         <SelectableItemCustomization Id="LightSwitch" Hidden="no" Selected="no"/>
         <SelectableItemCustomization Id="SilverLight_Developer_Kit" Hidden="no" Selected="no" />
         <SelectableItemCustomization Id="VC_MFC_Libraries" Hidden="no" Selected="no" />
         <SelectableItemCustomization Id="Blend" Hidden="no" Selected="no" />
    
         <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="no" />
         <SelectableItemCustomization Id="PreEmptiveAnalyticsHidden" Selected="no" />
         <SelectableItemCustomization Id="ProfilerHidden" Selected="yes" />
         <SelectableItemCustomization Id="ReportingHidden" Selected="yes" />
         <SelectableItemCustomization Id="RIAHidden" Selected="yes" />
         <SelectableItemCustomization Id="SDKTools3Hidden" Selected="yes" />
         <SelectableItemCustomization Id="SDKTools4Hidden" Selected="yes" />
         <SelectableItemCustomization Id="Silverlight5DRTHidden" Selected="yes" />
         <SelectableItemCustomization Id="SQLCEHidden" Selected="yes" />
         <SelectableItemCustomization Id="SQLCEToolsHidden" Selected="no" />
         <SelectableItemCustomization Id="SQLCLRTypesHidden" Selected="yes" />
         <SelectableItemCustomization Id="SQLDACHidden" Selected="yes" />
         <SelectableItemCustomization Id="SQLDbProviderHidden" Selected="yes" />
         <SelectableItemCustomization Id="SQLSharedManagementObjectsHidden" Selected="yes" />
         <SelectableItemCustomization Id="StoryboardingHidden" Selected="no" />
         <SelectableItemCustomization Id="TSQLHidden" Selected="yes" />
         <SelectableItemCustomization Id="VCCompilerHidden" Selected="yes" />
         <SelectableItemCustomization Id="VCCoreHidden" Selected="yes" />
         <SelectableItemCustomization Id="VCDebugHidden" Selected="yes" />
         <SelectableItemCustomization Id="VCDesigntimeHidden" Selected="yes" />
         <SelectableItemCustomization Id="VCExtendedHidden" Selected="yes" />
         <SelectableItemCustomization Id="WCFDataServicesHidden" Selected="yes" />
         <SelectableItemCustomization Id="WinJSHidden" Selected="yes" />
         <SelectableItemCustomization Id="WinSDKHidden" Selected="yes" />
       </SelectableItemCustomizations>
    </AdminDeploymentCustomizations>
  • Tools\ChocolateyInstall.ps1 Show
    . (Join-Path $(Split-Path -parent $MyInvocation.MyCommand.Definition) 'common.ps1')
    
    $adminFile = (Join-Path $(Split-Path -parent $MyInvocation.MyCommand.Definition) 'AdminDeployment.xml')
    $customArgs = $env:chocolateyPackageParameters
    
    $settings = Initialize-VS-Settings $customArgs $adminFile
    $installerArgs = Get-VS-Installer-Args $settings.ProductKey
    
    Install-ChocolateyPackage 'VisualStudio2012Premium' 'exe' $installerArgs 'http://go.microsoft.com/?linkid=9810253' -validExitCodes @(0, 3010)
    
  • Tools\ChocolateyUninstall.ps1 Show
    $app = Get-WmiObject -Class Win32_Product | Where-Object { $_.Name -eq "Microsoft Visual Studio Premium 2012" }
    if($app -ne $null){
        $version=$app.Version
        $uninstaller=Get-Childitem "$env:ProgramData\Package Cache\" -Recurse -Filter vs_Premium.exe | ? { $_.VersionInfo.ProductVersion.startswith($version)}
        Uninstall-ChocolateyPackage 'VisualStudio2012Premium' 'exe' "/Uninstall /force /Passive /NoRestart" $uninstaller.FullName
    }
  • Tools\common.ps1 Show
    Function Initialize-VS-Settings ($vsArgs, $unattendFile)
    {
    	
    	$result = @{ 
    		"ProductKey" = ""
    	}
    
    	$MATCH_PATTERN = "/([a-zA-Z]+):([`"'])?([a-zA-Z0-9- _]+)([`"'])?"
    	$PARAMATER_NAME_INDEX = 1
    	$VALUE_INDEX = 3
    
    	$productKey = ""
    
    	#Test to see if anything was passed
    	if($vsArgs -match $MATCH_PATTERN ){
    	    
    	    #Construct a hastable of paramaters sent
    	    #Format is /Key:Value (optional quotes) - Value can have [a-zA-Z0-9- _]+
    
    	    $vsArgValues = @{ }
    	    $results = $vsArgs | Select-String $MATCH_PATTERN -AllMatches  
    	    $results.matches | % { 
    	        $vsArgValues.Add(
    	            $_.Groups[$PARAMATER_NAME_INDEX].Value.Trim(),
    	            $_.Groups[$VALUE_INDEX].Value.Trim()) 
    	    }
    
    	    #Initialize features unattended installation file
    	    if($vsArgValues['Features']) {
    	        $featuresToAdd = -split $vsArgValues['Features']
    	        [xml]$adminXml=Get-Content $unattendFile
    
    	        $featuresToAdd | % {
    	            $feature=$_
    	            $node=$adminXml.DocumentElement.SelectableItemCustomizations.ChildNodes | ? {$_.Id -eq "$feature"}
    	            if($node -ne $null){
    	                $node.Selected="yes"
    	            }
    	        }
    	        $adminXml.Save($unattendFile)
    	    }
    
    	    #Return back the product key
    	    if($vsArgValues['ProductKey']) {
    	        $result["ProductKey"] = $vsArgValues['ProductKey']
    	    };
    	}
    
    	New-Object PSObject -Property $result
    }
    
    Function Get-VS-Installer-Args ($productKey='') {
    	$result = "/Passive /NoRestart /AdminFile $adminFile /Log $env:temp\vs.log"
    	if($settings.ProductKey -ne "") {
    
    	    $result = "{0} /ProductKey {1}" -f $result, $settings.ProductKey
    	}
    
    	$result
    }

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 2012 - Premium 11.0.1 1322 Monday, November 19, 2012 approved
Visual Studio 2012 - Premium 11.0 323 Wednesday, August 22, 2012  

Discussion for the Visual Studio 2012 - Premium Package

Ground rules:

  • This discussion is only about Visual Studio 2012 - Premium and the Visual Studio 2012 - Premium 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 2012 - Premium, 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