Ukazi za namestitev programa cTrader CLI brez vprašanj, za njegovo odstranitev in za zaznavanje v orodjih za uvajanje. Ukaz je prikazan le, kadar je zanesljiv: iz manifesta ali iz dokumentiranih privzetih stikal tehnologije namestitvene datoteke.
Povezan vodnik: Stikala za tiho namestitev: MSI, NSIS, Inno Setup · Odstranitev programa prek registra ali PowerShella
Z wingetom
PowerShell
winget install --id Spotware.cTrader.CLI -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Spotware.cTrader.CLI -e --silentwinget uninstall --id Spotware.cTrader.CLI -e --silentPo namestitvenih datotekah
64-bitno · EXE (Inno Setup) · Trenutni uporabnik · en-US
Tiha namestitev
ctrader-cli-5.9.0-win-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Druga mapa
ctrader-cli-5.9.0-win-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\ctrader-cli"- Ključ za odstranitev v registru
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{B0F3A1E2-7C84-4D6B-9A05-2E1F6C3D8B47}_is1
PowerShell: prenesi, preveri, namesti
Prenese uradno datoteko, preveri SHA256 in jo tiho namesti.
install-ctrader-cli.ps1
$url = 'https://getctraderwin.spotware.com/cli/winget/ctrader-cli-5.9.0-win-x64.exe'
$sha256 = '6DA989ED5C9AB95D05EC84CF8FA2DBD876A3D6943E50DB4E910FBADC96CA8CB3'
$file = Join-Path $env:TEMP 'ctrader-cli-5.9.0-win-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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait