Commands for installing sqlite4n6 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 SecurityRonin.sqlite4n6 -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id SecurityRonin.sqlite4n6 -e --silentwinget uninstall --id SecurityRonin.sqlite4n6 -e --silentBy installer
64-bit · MSI · All users · en-US
Silent install
msiexec /i sqlite4n6-0.10.1-x86_64-pc-windows-msvc.msi /qn /norestartWrite a log
msiexec /i sqlite4n6-0.10.1-x86_64-pc-windows-msvc.msi /qn /norestart /l*v "%TEMP%\sqlite4n6-install.log"Uninstall
msiexec /x {2F509EB7-EBBA-423D-958F-D399AAE971FA} /qn /norestart- MSI product code
- {2F509EB7-EBBA-423D-958F-D399AAE971FA}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{2F509EB7-EBBA-423D-958F-D399AAE971FA}
- UpgradeCode
- {070DCA3F-F901-4736-9C5D-12F7AA00F064}
- Install folder
- %ProgramFiles%\sqlite4n6\bin
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-sqlite4n6.ps1
$url = 'https://github.com/SecurityRonin/sqlite-forensic/releases/download/v0.10.1/sqlite4n6-0.10.1-x86_64-pc-windows-msvc.msi'
$sha256 = 'C6C7C9EAAE2D27373D8C0CD9C76D8738DF54D169B8A7336E815FB99FD2FE33DC'
$file = Join-Path $env:TEMP 'sqlite4n6-0.10.1-x86_64-pc-windows-msvc.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