Kommandoer til at installere KCPPOS plus uden spørgsmål, fjerne programmet igen og finde det fra udrulningsværktøjer. En kommando vises kun, når den er sikker: fra manifestet eller som installationsteknologiens dokumenterede standard.
Relateret vejledning: Parametre til lydløs installation: MSI, NSIS, Inno · Afinstaller et program via registreringsdatabasen
Med 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 --silentPr. installationsfil
64-bit · EXE (Inno Setup)
Lydløs installation
KCPPosplusSetup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mappe
KCPPosplusSetup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\kcppos-plus"- Afinstallationsnøgle i registreringsdatabasen
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\KCPPOS plus_is1
PowerShell: download, kontrollér, installér
Downloader den officielle fil, kontrollerer dens SHA256 og installerer lydløst.
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