Commands for installing Weasel 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 Rime.Weasel -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Rime.Weasel -e --silentwinget uninstall --id Rime.Weasel -e --silentBy installer
64-bit · EXE (NSIS) · All users
Silent install
weasel-0.17.4.0-installer.exe /SCustom folder
weasel-0.17.4.0-installer.exe /S /D=C:\Apps\weasel- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Weasel
ARM64 · EXE (NSIS) · All users
Silent install
weasel-0.17.4.0-installer.exe /SCustom folder
weasel-0.17.4.0-installer.exe /S /D=C:\Apps\weasel- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Weasel
32-bit · EXE (NSIS) · All users
Silent install
weasel-0.17.4.0-installer.exe /SCustom folder
weasel-0.17.4.0-installer.exe /S /D=C:\Apps\weasel- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Weasel
ARM · EXE (NSIS) · All users
Silent install
weasel-0.17.4.0-installer.exe /SCustom folder
weasel-0.17.4.0-installer.exe /S /D=C:\Apps\weasel- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Weasel
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-weasel.ps1
$url = 'https://github.com/rime/weasel/releases/download/0.17.4/weasel-0.17.4.0-installer.exe'
$sha256 = 'CF509534A8F5F8AF9C98ED7CBB8F135439F145A8CBE7E50EDE42BB5B5AB45C29'
$file = Join-Path $env:TEMP 'weasel-0.17.4.0-installer.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/S' -Wait install-weasel.ps1
$url = 'https://github.com/rime/weasel/releases/download/0.17.4/weasel-0.17.4.0-installer.exe'
$sha256 = 'CF509534A8F5F8AF9C98ED7CBB8F135439F145A8CBE7E50EDE42BB5B5AB45C29'
$file = Join-Path $env:TEMP 'weasel-0.17.4.0-installer.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/S' -Wait install-weasel.ps1
$url = 'https://github.com/rime/weasel/releases/download/0.17.4/weasel-0.17.4.0-installer.exe'
$sha256 = 'CF509534A8F5F8AF9C98ED7CBB8F135439F145A8CBE7E50EDE42BB5B5AB45C29'
$file = Join-Path $env:TEMP 'weasel-0.17.4.0-installer.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/S' -Wait install-weasel.ps1
$url = 'https://github.com/rime/weasel/releases/download/0.17.4/weasel-0.17.4.0-installer.exe'
$sha256 = 'CF509534A8F5F8AF9C98ED7CBB8F135439F145A8CBE7E50EDE42BB5B5AB45C29'
$file = Join-Path $env:TEMP 'weasel-0.17.4.0-installer.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/S' -Wait