Commands for installing Moosync 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 Ovenoboyo.Moosync -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Ovenoboyo.Moosync -e --silentwinget uninstall --id Ovenoboyo.Moosync -e --silentBy installer
64-bit · EXE (NSIS) · en-US
Silent install
Moosync_11.0.2_x64-setup.exe /SCustom folder
Moosync_11.0.2_x64-setup.exe /S /D=C:\Apps\moosync- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Moosync
- Install folder
- placeholder\Moosync
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-moosync.ps1
$url = 'https://github.com/Moosync/Moosync/releases/download/Moosync-v11.0.2/Moosync_11.0.2_x64-setup.exe'
$sha256 = '3798B8F46332BEF419695044D2A34166D5402FDE4289961A265B82D44214A4D3'
$file = Join-Path $env:TEMP 'Moosync_11.0.2_x64-setup.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