Príkazy na inštaláciu programu CloudServerPC bez otázok, na jeho odinštalovanie a na detekciu v nástrojoch na nasadzovanie. Príkaz je uvedený iba vtedy, keď je presne známy: z manifestu alebo zo zdokumentovaných parametrov technológie inštalátora.
Súvisiaci návod: Parametre tichej inštalácie: MSI, NSIS, Inno Setup · Odinštalovanie programu cez register alebo PowerShell
Cez 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 --silentPodľa inštalátora
64-bit · EXE (Inno Setup)
Tichá inštalácia
CloudServerPC.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Vlastný priečinok
CloudServerPC.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\cloudserverpc"PowerShell: stiahnuť, overiť, nainštalovať
Stiahne oficiálny súbor, overí SHA256 a program nainštaluje v tichom režime.
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