Popular: Data updated October 27, 2026

Categories

Internet1,356
Communication321
Audio & video898
Graphics & design539
Office & productivity1,124
Developer tools3,134
AI tools529
Security & privacy385
System tools3,114
Games523
Education & science239
Network & IT284

Microsoft SqlPackage for .NET Framework silent install & uninstall

A command-line utility that automates the database development tasks by exposing some of the public Data-Tier Application Framework (DacFx) APIs.

Commands for installing Microsoft SqlPackage for .NET Framework without prompts, removing it again and detecting it from deployment tools. A command is shown only when it is certain: from the manifest or the installer technology’s documented default.

Related guide: Silent install switches: MSI, NSIS, Inno Setup · Uninstall a program with the registry or PowerShell

With winget

PowerShell
winget install --id Microsoft.SqlPackage.NETFramework -e --silent --accept-package-agreements --accept-source-agreements
winget upgrade --id Microsoft.SqlPackage.NETFramework -e --silent
winget uninstall --id Microsoft.SqlPackage.NETFramework -e --silent

By installer

64-bit · MSI · All users · en-US

Silent installmsiexec /i setup.exe /qn /norestart
Write a logmsiexec /i setup.exe /qn /norestart /l*v "%TEMP%\microsoft-sqlpackage-for-net-framework-install.log"
Uninstallmsiexec /x {B3026990-7BB2-4069-BEB4-E5CAB5946F37} /qn /norestart
MSI product code
{B3026990-7BB2-4069-BEB4-E5CAB5946F37}
Uninstall registry key
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{B3026990-7BB2-4069-BEB4-E5CAB5946F37}
UpgradeCode
{5681AA3B-6F0A-42E5-8D39-0D7C4A3627CE}
Install folder
%ProgramFiles%\Microsoft SQL Server\170\DAC\bin

PowerShell: download, verify, install

Downloads the official file, checks its SHA256 and installs it silently.

install-microsoft-sqlpackage-for-net-framework.ps1
$url = 'https://go.microsoft.com/fwlink/?linkid=2379707'
$sha256 = '4539F4AA72A2B187D091BACB101B1C3FCC048FA27749334A898BECFD55D1D157'
$file = Join-Path $env:TEMP 'setup.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait

More from Microsoft Corporation

See all
  • PowerShellPowerShell is a cross-platform task automation solution made up of a command-line shell, a scripting language, and a configuration management framework. PowerShell runs on Windows, Linux, and macOS.
  • PowerToysMicrosoft PowerToys is a set of utilities for power users to tune and streamline their Windows experience for greater productivity.
  • NuGetThe package manager for .NET
  • Microsoft Azure CLIThe Azure command-line interface (Azure CLI) is a set of commands used to create and manage Azure resources. The Azure CLI is available across Azure services and is designed to get you working quickly with Azure, with an emphasis on automation.
  • OpenSSH PreviewMicrosoft.OpenSSH.Preview
  • Bicep CLIA declarative language for describing and deploying Azure resources

Tags

Share