Příkazy pro instalaci programu CloudServerPC bez dotazů, jeho odinstalaci a detekci v nástrojích pro nasazení. Příkaz je uveden jen tehdy, když je přesně známý: z manifestu nebo ze zdokumentovaných parametrů technologie instalátoru.
Související návod: Parametry tiché instalace: MSI, NSIS, Inno Setup · Odinstalace programu přes registr nebo PowerShell
Přes 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 --silentPodle instalátoru
64bit · EXE (Inno Setup)
Tichá instalace
CloudServerPC.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Vlastní složka
CloudServerPC.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\cloudserverpc"PowerShell: stáhnout, ověřit, nainstalovat
Stáhne oficiální soubor, ověří SHA256 a program nainstaluje v tichém režimu.
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