Commands for installing Database Pilot 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 Sparxsoft.DatabasePilot -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Sparxsoft.DatabasePilot -e --silentwinget uninstall --id Sparxsoft.DatabasePilot -e --silentBy installer
64-bit · MSIX
Silent install
Add-AppxPackage -Path DatabasePilot_1.38.2.0_x64.msixUninstall
Get-AppxPackage -Name Sparxsoft.DatabasePilot | Remove-AppxPackage- Install folder
- %ProgramFiles%\WindowsApps\Sparxsoft.DatabasePilot_1.37.4.0_x64__tjqezjxdrgwra
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-database-pilot.ps1
$url = 'https://stdatabasepilotprod.blob.core.windows.net/public/DatabasePilot_1.38.2.0_x64.msix'
$sha256 = 'BC9A75FF7917F4D07815E94D84B447BE96C2B5AD15CB7EE8827D43DCA1238693'
$file = Join-Path $env:TEMP 'DatabasePilot_1.38.2.0_x64.msix'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file