Commands for installing Nexa SQL 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 SosomLab.NexaSQL -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id SosomLab.NexaSQL -e --silentwinget uninstall --id SosomLab.NexaSQL -e --silentBy installer
64-bit · MSI · All users
Silent install
msiexec /i nexa-sql-0.5.0-windows-x64.msi /qn /norestartWrite a log
msiexec /i nexa-sql-0.5.0-windows-x64.msi /qn /norestart /l*v "%TEMP%\nexa-sql-install.log"Uninstall
msiexec /x {47AAC414-D983-4680-A48D-9A5F8240DC99} /qn /norestart- MSI product code
- {47AAC414-D983-4680-A48D-9A5F8240DC99}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{47AAC414-D983-4680-A48D-9A5F8240DC99}
- UpgradeCode
- {B404C009-2003-4CD7-B231-113BA00242E2}
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-nexa-sql.ps1
$url = 'https://github.com/SosomLab/nexa-sql/releases/download/v0.5.0/nexa-sql-0.5.0-windows-x64.msi'
$sha256 = '06FCC52766CD042E4CF02435CC08D62E31BA5E8D9B690013A2BEA91F3E23FB11'
$file = Join-Path $env:TEMP 'nexa-sql-0.5.0-windows-x64.msi'
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