Commands for installing Scratch Link 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 MITMediaLab.ScratchLink -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id MITMediaLab.ScratchLink -e --silentwinget uninstall --id MITMediaLab.ScratchLink -e --silentBy installer
32-bit · ZIP · en-US
Silent install
msiexec /i windows.zip /qn /norestartUninstall
msiexec /x {429A56C5-2EC1-4439-B752-AF2DFEDA9FAC} /qn /norestart- MSI product code
- {429A56C5-2EC1-4439-B752-AF2DFEDA9FAC}
- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{429A56C5-2EC1-4439-B752-AF2DFEDA9FAC}
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-scratch-link.ps1
$url = 'https://downloads.scratch.mit.edu/link/windows.zip'
$sha256 = '24769D48A0506DC5697EF3180CC6BAC64FC18C7CCCC5FDBD8749D9F3D9E61A44'
$file = Join-Path $env:TEMP 'windows.zip'
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