Kommandoer til at installere CC Switch 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 farion1231.CC-Switch -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id farion1231.CC-Switch -e --silentwinget uninstall --id farion1231.CC-Switch -e --silentPr. installationsfil
64-bit · MSI · Aktuel bruger · en-US
Lydløs installation
msiexec /i CC-Switch-v4.0.35-Windows.msi /qn /norestartSkriv en log
msiexec /i CC-Switch-v4.0.35-Windows.msi /qn /norestart /l*v "%TEMP%\cc-switch-install.log"Afinstallation
msiexec /x {6B18AFD2-EC81-4C61-AEAB-5BED82EE2F71} /qn /norestart- MSI-produktkode
- {6B18AFD2-EC81-4C61-AEAB-5BED82EE2F71}
- Afinstallationsnøgle i registreringsdatabasen
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{6B18AFD2-EC81-4C61-AEAB-5BED82EE2F71}
- UpgradeCode
- {55F90CA4-617A-5350-A7CF-F6F24252866B}
- Installationsmappe
- %LocalAppData%\Programs\CC Switch
- DisplayVersion
- 4.0.35
ARM64 · MSI · Aktuel bruger · en-US
Lydløs installation
msiexec /i CC-Switch-v4.0.35-Windows-arm64.msi /qn /norestartSkriv en log
msiexec /i CC-Switch-v4.0.35-Windows-arm64.msi /qn /norestart /l*v "%TEMP%\cc-switch-install.log"Afinstallation
msiexec /x {DB7100F2-E3DB-4BE0-B5DC-2C403294F4F0} /qn /norestart- MSI-produktkode
- {DB7100F2-E3DB-4BE0-B5DC-2C403294F4F0}
- Afinstallationsnøgle i registreringsdatabasen
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{DB7100F2-E3DB-4BE0-B5DC-2C403294F4F0}
- UpgradeCode
- {55F90CA4-617A-5350-A7CF-F6F24252866B}
- Installationsmappe
- %LocalAppData%\Programs\CC Switch
- DisplayVersion
- 4.0.35
PowerShell: download, kontrollér, installér
Downloader den officielle fil, kontrollerer dens SHA256 og installerer lydløst.
install-cc-switch.ps1
$url = 'https://github.com/farion1231/cc-switch/releases/download/v4.0.35/CC-Switch-v4.0.35-Windows.msi'
$sha256 = '441CCA1ACFF32A3226BA4CC08BF934F0BF40C3B416ABA5F04D96BEF9C19D6E64'
$file = Join-Path $env:TEMP 'CC-Switch-v4.0.35-Windows.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait install-cc-switch.ps1
$url = 'https://github.com/farion1231/cc-switch/releases/download/v4.0.35/CC-Switch-v4.0.35-Windows-arm64.msi'
$sha256 = '1130562843515A2489B4F63A4AAD1CB39B9924F826DD5032041D40B6886EF17F'
$file = Join-Path $env:TEMP 'CC-Switch-v4.0.35-Windows-arm64.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait