Opdragte om KCPPOS plus sonder vrae te installeer, weer te verwyder en vanuit ontplooiingsgereedskap op te spoor. ’n Opdrag word net gewys as dit seker is: uit die manifes of die gedokumenteerde verstek van die installeertegnologie.
Verwante gids: Skakelaars vir stil installasie: MSI, NSIS, Inno Setup · Deïnstalleer ’n program via die register of PowerShell
Met winget
PowerShell
winget install --id NHNKCP.KCPPOSplus -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id NHNKCP.KCPPOSplus -e --silentwinget uninstall --id NHNKCP.KCPPOSplus -e --silentVolgens installeerder
64-bis · EXE (Inno Setup)
Stil installasie
KCPPosplusSetup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Eie lêergids
KCPPosplusSetup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\kcppos-plus"- Deïnstalleer-registersleutel
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\KCPPOS plus_is1
PowerShell: aflaai, nagaan, installeer
Laai die amptelike lêer af, gaan die SHA256 na en installeer dit stil.
install-kcppos-plus.ps1
$url = 'https://rl5gkllrg.toastcdn.net/cherryforce/static/setup/KCPPosplusSetup.exe'
$sha256 = '8504305F44E0182D9D466BD560CE7C8EF6F3F4A8BB4FF4DB85E8C66E2F79F853'
$file = Join-Path $env:TEMP 'KCPPosplusSetup.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