Commands for installing Whatly 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 shakaran.whatly -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id shakaran.whatly -e --silentwinget uninstall --id shakaran.whatly -e --silentBy installer
64-bit · MSI · All users
Silent install
msiexec /i whatly-7.6.7-x64.msi /qn /norestartWrite a log
msiexec /i whatly-7.6.7-x64.msi /qn /norestart /l*v "%TEMP%\whatly-install.log"Uninstall
msiexec /x {9C64B442-E778-4E9B-A49C-622DF9375943} /qn /norestart- MSI product code
- {9C64B442-E778-4E9B-A49C-622DF9375943}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9C64B442-E778-4E9B-A49C-622DF9375943}
- UpgradeCode
- {F425705D-B59A-4ABB-A4CA-4F5F01A8D594}
- Install folder
- %ProgramFiles%\Whatly
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-whatly.ps1
$url = 'https://github.com/shakaran/whatly/releases/download/v7.6.7/whatly-7.6.7-x64.msi'
$sha256 = '0BE836FFB78A28DCBC2057903180EABC8DEE0ACEFB6B0E92CC3EB92B25963247'
$file = Join-Path $env:TEMP 'whatly-7.6.7-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