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

7,787

Downloads

7,201

Downloads of v 13.0.1601.5

7/7/2016

Last update

Microsoft System CLR Types for SQL Server 2016

13.0.1601.5

Package test results are passing.

This package was approved by moderator doc on 7/10/2016.

The SQL Server System CLR Types package contains the components implementing the new geometry, geography, and hierarchyid types in SQL Server 2016. This component can be installed separately from the server to allow client applications to use these types outside of the server.

To install Microsoft System CLR Types for SQL Server 2016, run the following command from the command line or from PowerShell:

C:\> choco install sql2016-clrtypes

To upgrade Microsoft System CLR Types for SQL Server 2016, run the following command from the command line or from PowerShell:

C:\> choco upgrade sql2016-clrtypes

Files

Hide
  • tools\chocolateyinstall.ps1 Show
    $ErrorActionPreference = 'Stop';
    
    
    $packageName= 'sql2016-clrtypes'
    $toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
    $url        = 'http://download.microsoft.com/download/E/4/1/E41A6614-9FB0-4675-8A97-08F8B1A1827D/EN/SQL13/x86/SQLSysClrTypes.msi'
    $url64      = 'http://download.microsoft.com/download/E/4/1/E41A6614-9FB0-4675-8A97-08F8B1A1827D/EN/SQL13/amd64/SQLSysClrTypes.msi'
    
    $packageArgs = @{
      packageName   = $packageName
      unzipLocation = $toolsDir
      fileType      = 'MSI'
      url           = $url
      url64bit      = $url64
    
      silentArgs    = "/qn /norestart /l*v `"$($env:TEMP)\$($packageName).$($env:chocolateyPackageVersion).MsiInstall.log`""
      validExitCodes= @(0, 3010, 1641)
    
      softwareName  = 'Microsoft System CLR Types for SQL Server 2016*'
    }
    
    Install-ChocolateyPackage @packageArgs
    
    # If we are on a x64 system we need to install the x86 package as well.
    $IsSystem32Bit = Get-ProcessorBits -Compare 32
    if (!$IsSystem32Bit) {
      $packageArgs.Remove('url64bit')
      Install-ChocolateyPackage @packageArgs
    }
    
  • tools\chocolateyuninstall.ps1 Show
    $ErrorActionPreference = 'Stop';
    
    $packageName = 'sql2016-clrtypes'
    $softwareName = 'Microsoft System CLR Types for SQL Server 2016*'
    $installerType = 'MSI' 
    
    $silentArgs = '/qn /norestart'
    $validExitCodes = @(0, 3010, 1605, 1614, 1641)
    if ($installerType -ne 'MSI') {
      $validExitCodes = @(0)
    }
    
    $uninstalled = $false
    [array]$key = Get-UninstallRegistryKey -SoftwareName $softwareName
    
    # Both the x86 and x64 packages are installed with the same name. Remove both.
    # Currently if there are other programs that depend on these packages they won't 
    # be uninstalled.
    if ($key.Count -eq 2) {
      $key | % { 
        $file = "$($_.UninstallString)"
    
        if ($installerType -eq 'MSI') {
          $sa = "$($_.PSChildName) $silentArgs"
    
          $file = ''
    
           Uninstall-ChocolateyPackage -PackageName $packageName `
                                    -FileType $installerType `
                                    -SilentArgs "$sa" `
                                    -ValidExitCodes $validExitCodes `
                                    -File "$file"
        }
    
       
      }
    } elseif ($key.Count -eq 0) {
      Write-Warning "$packageName has already been uninstalled by other means."
    } elseif ($key.Count -gt 3) {
      Write-Warning "$key.Count matches found!"
      Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
      Write-Warning "Please alert package maintainer the following keys were matched:"
      $key | % {Write-Warning "- $_.DisplayName"}
    }
    
    
    
    

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

This package has no dependencies.

Package Maintainer(s)

Software Author(s)

  • Microsoft

Tags

Version History

Version Downloads Last updated Status
Microsoft System CLR Types for SQL Server 2016 13.0.1601.5-fix 586 Thursday, April 6, 2017 exempted

Discussion for the Microsoft System CLR Types for SQL Server 2016 Package

Ground rules:

  • This discussion is only about Microsoft System CLR Types for SQL Server 2016 and the Microsoft System CLR Types for SQL Server 2016 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 Microsoft System CLR Types for SQL Server 2016, 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