Kommandoer til at installere cc-switch-remote 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 zz920.cc-switch-remote -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id zz920.cc-switch-remote -e --silentwinget uninstall --id zz920.cc-switch-remote -e --silentPr. installationsfil
64-bit · EXE (NSIS) · Aktuel bruger
Lydløs installation
cc-switch-remote_3.20.2_x64-setup.exe /SEgen mappe
cc-switch-remote_3.20.2_x64-setup.exe /S /D=C:\Apps\cc-switch-remote- Afinstallationsnøgle i registreringsdatabasen
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\cc-switch-remote
- Installationsmappe
- %LocalAppData%\cc-switch-remote
PowerShell: download, kontrollér, installér
Downloader den officielle fil, kontrollerer dens SHA256 og installerer lydløst.
install-cc-switch-remote.ps1
$url = 'https://github.com/zz920/cc-switch-remote/releases/download/v3.20.2-r1/cc-switch-remote_3.20.2_x64-setup.exe'
$sha256 = 'E142A66645804B159E10321D88F5E3A8E290730BDAEB7CAB552BB82732D1EBBF'
$file = Join-Path $env:TEMP 'cc-switch-remote_3.20.2_x64-setup.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 '/S' -Wait