Chocolatey Fest - Chocolatey's inaugural conference on Windows Automation (WinOps) is coming - Learn more!

6,532

Downloads

6,532

Downloads of v 12.0.5000.0

2/18/2017

Last update

Microsoft® SQL Server® 2014 Service Pack 2 (SP2) LocalDB (SqlLocalDB)

12.0.5000.0

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 AdmiringWorm on 2/19/2017.

LocalDB is a lightweight version of Express that has all its programmability features, yet runs in user mode and has a fast, zero-configuration installation and short list of pre-requisites. Use this if you need a simple way to create and work with databases from code. It can be bundled with Application and Database Development tools like Visual Studio and or embedded with an application that needs local databases.

To install Microsoft® SQL Server® 2014 Service Pack 2 (SP2) LocalDB (SqlLocalDB), run the following command from the command line or from PowerShell:

C:\> choco install mssqlserver2014-sqllocaldb

To upgrade Microsoft® SQL Server® 2014 Service Pack 2 (SP2) LocalDB (SqlLocalDB), run the following command from the command line or from PowerShell:

C:\> choco upgrade mssqlserver2014-sqllocaldb

Files

Hide
  • tools\chocolateyinstall.ps1 Show
    $ErrorActionPreference = 'Stop';
    
    
    $packageName= 'MsSqlServer2014LocalDB'
    $toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
    $url        = 'https://download.microsoft.com/download/2/A/5/2A5260C3-4143-47D8-9823-E91BB0121F94/ENU/x86/SqlLocalDB.msi'
    $url64      = 'https://download.microsoft.com/download/2/A/5/2A5260C3-4143-47D8-9823-E91BB0121F94/ENU/x64/SqlLocalDB.msi'
    
    $packageArgs = @{
      packageName   = $packageName
      unzipLocation = $toolsDir
      fileType      = 'msi'
      url           = $url
      url64bit      = $url64
    
      silentArgs    = "/qn /norestart /l*v `"$($env:TEMP)\$($packageName).$($env:chocolateyPackageVersion).MsiInstall.log`" IACCEPTSQLLOCALDBLICENSETERMS=YES"
      validExitCodes= @(0, 3010, 1641)
    
      softwareName  = 'MsSqlServer2014LocalDB*'
      checksum      = 'FDBE2CE1A634107918EFA826DDEAF3378F392CB486EA5841A8D7C114C5DD63BA'
      checksumType  = 'sha256'
      checksum64    = '58326E33A1F4711FBD4C8D82D944ED21532D959305131C5355AB17B3E557E23D'
      checksumType64= 'sha256'
    }
    
    Install-ChocolateyPackage @packageArgs
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
  • tools\chocolateyuninstall.ps1 Show
    $ErrorActionPreference = 'Stop';
    
    $packageName = 'MsSqlServer2014LocalDB'
    $softwareName = 'MsSqlServer2014LocalDB*'
    $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
    
    if ($key.Count -eq 1) {
      $key | % { 
        $file = "$($_.UninstallString)"
    
        if ($installerType -eq 'MSI') {
          $silentArgs = "$($_.PSChildName) $silentArgs"
    
          $file = ''
        }
    
        Uninstall-ChocolateyPackage -PackageName $packageName `
                                    -FileType $installerType `
                                    -SilentArgs "$silentArgs" `
                                    -ValidExitCodes $validExitCodes `
                                    -File "$file"
      }
    } elseif ($key.Count -eq 0) {
      Write-Warning "$packageName has already been uninstalled by other means."
    } elseif ($key.Count -gt 1) {
      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

Release Notes

https://docs.microsoft.com/en-us/sql/release-notes/sql-server-2014-release-notes

Version History

Version Downloads Last updated Status

Discussion for the Microsoft® SQL Server® 2014 Service Pack 2 (SP2) LocalDB (SqlLocalDB) Package

Ground rules:

  • This discussion is only about Microsoft® SQL Server® 2014 Service Pack 2 (SP2) LocalDB (SqlLocalDB) and the Microsoft® SQL Server® 2014 Service Pack 2 (SP2) LocalDB (SqlLocalDB) 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® SQL Server® 2014 Service Pack 2 (SP2) LocalDB (SqlLocalDB), 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