Commando’s om CloudServerPC 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 jalapGroup.CloudServerPC -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id jalapGroup.CloudServerPC -e --silentwinget uninstall --id jalapGroup.CloudServerPC -e --silentPer installer
64-bits · EXE (Inno Setup)
Stille installatie
CloudServerPC.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Andere map
CloudServerPC.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\cloudserverpc"PowerShell: downloaden, controleren, installeren
Downloadt het officiële bestand, controleert de SHA256-hash en installeert stil.
install-cloudserverpc.ps1
$url = 'https://github.com/realmekamlesh/cloudserverpc/releases/download/v2.0/CloudServerPC.exe'
$sha256 = 'AF123EFCC600E7C4556C3E186B14E0E9621661BA2430A0434260288851D29999'
$file = Join-Path $env:TEMP 'CloudServerPC.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait