Commands for installing Msty 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 CloudStack.Msty -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id CloudStack.Msty -e --silentwinget uninstall --id CloudStack.Msty -e --silentBy installer
64-bit · EXE (NSIS) · Current user
Silent install
Msty_x64.exe /SCustom folder
Msty_x64.exe /S /D=C:\Apps\msty- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\bfb499a5-d414-5cff-94fa-efc8c8d3bd7a
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-msty.ps1
$url = 'https://assets.msty.app/prod/latest/win/auto/Msty_x64.exe'
$sha256 = 'DDBBA86D55EFFA13F56F7B8DD279FBE36AC7A93B02420A2AC16C68BFD2E1A528'
$file = Join-Path $env:TEMP 'Msty_x64.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