Polecenia do instalacji programu massCode bez pytań, do jego usuwania i do wykrywania w narzędziach wdrożeniowych. Polecenie jest podane tylko wtedy, gdy jest pewne: pochodzi z manifestu albo z udokumentowanych ustawień domyślnych technologii instalatora.
Powiązany poradnik: Parametry cichej instalacji: MSI, NSIS, Inno Setup · Odinstalowanie programu przez rejestr lub PowerShell
Przez 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 --silentWedług instalatora
64-bit · EXE (NSIS) · Bieżący użytkownik
Cicha instalacja
massCode-6.3.1-x64.exe /SWłasny folder
massCode-6.3.1-x64.exe /S /D=C:\Apps\masscode- Klucz odinstalowania w rejestrze
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\28d75001-1a84-5945-8afc-b4fb140bde60
PowerShell: pobierz, zweryfikuj, zainstaluj
Pobiera oficjalny plik, sprawdza jego SHA256 i instaluje go po cichu.
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