Commands for installing massCode 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 antonreshetov.massCode -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id antonreshetov.massCode -e --silentwinget uninstall --id antonreshetov.massCode -e --silentBy installer
64-bit · EXE (NSIS) · Current user
Silent install
massCode-6.3.1-x64.exe /SCustom folder
massCode-6.3.1-x64.exe /S /D=C:\Apps\masscode- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\28d75001-1a84-5945-8afc-b4fb140bde60
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-masscode.ps1
$url = 'https://github.com/massCodeIO/massCode/releases/download/v6.3.1/massCode-6.3.1-x64.exe'
$sha256 = '071E05064E72B377B9EF64C653F2BD91D59DB9622847888CE88B49CE6DB04B00'
$file = Join-Path $env:TEMP 'massCode-6.3.1-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