Commando’s om massCode zonder vragen te installeren, weer te verwijderen en te detecteren in uitroltools. Een commando staat er alleen als het vaststaat: uit het manifest of als gedocumenteerde standaard van de installertechniek.
Gerelateerde handleiding: Stille installatie-parameters: MSI, NSIS, Inno Setup · Programma verwijderen via register of PowerShell
Met 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 --silentPer installer
64-bits · EXE (NSIS) · Huidige gebruiker
Stille installatie
massCode-6.3.1-x64.exe /SAndere map
massCode-6.3.1-x64.exe /S /D=C:\Apps\masscode- Registersleutel voor verwijderen
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\28d75001-1a84-5945-8afc-b4fb140bde60
PowerShell: downloaden, controleren, installeren
Downloadt het officiële bestand, controleert de SHA256-hash en installeert stil.
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