Commands for installing CC Switch without prompts, removing it again and detecting it from deployment tools. A command is shown only when it is certain: from the manifest or the installer technology’s documented default.
Related guide: Silent install switches: MSI, NSIS, Inno Setup · Uninstall a program with the registry or PowerShell
With 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 --silentBy installer
64-bit · MSI · Current user · en-US
Silent install
msiexec /i CC-Switch-v4.0.25-Windows.msi /qn /norestartWrite a log
msiexec /i CC-Switch-v4.0.25-Windows.msi /qn /norestart /l*v "%TEMP%\cc-switch-install.log"Uninstall
msiexec /x {DF33B2A8-7877-42D0-AE54-C67F9DA1D085} /qn /norestart- MSI product code
- {DF33B2A8-7877-42D0-AE54-C67F9DA1D085}
- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{DF33B2A8-7877-42D0-AE54-C67F9DA1D085}
- UpgradeCode
- {55F90CA4-617A-5350-A7CF-F6F24252866B}
- Install folder
- %LocalAppData%/Programs/CC Switch
- DisplayVersion
- 4.0.25
ARM64 · MSI · Current user · en-US
Silent install
msiexec /i CC-Switch-v4.0.25-Windows-arm64.msi /qn /norestartWrite a log
msiexec /i CC-Switch-v4.0.25-Windows-arm64.msi /qn /norestart /l*v "%TEMP%\cc-switch-install.log"Uninstall
msiexec /x {2415CC33-2852-4686-8A87-0DFF0A905DB6} /qn /norestart- MSI product code
- {2415CC33-2852-4686-8A87-0DFF0A905DB6}
- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{2415CC33-2852-4686-8A87-0DFF0A905DB6}
- UpgradeCode
- {55F90CA4-617A-5350-A7CF-F6F24252866B}
- Install folder
- %LocalAppData%/Programs/CC Switch
- DisplayVersion
- 4.0.25
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-cc-switch.ps1
$url = 'https://github.com/farion1231/cc-switch/releases/download/v4.0.25/CC-Switch-v4.0.25-Windows.msi'
$sha256 = 'F9E64FB97C4887B13B03E29B0A4D39FCD77DECEEB2767174B0A1CCAED5991A00'
$file = Join-Path $env:TEMP 'CC-Switch-v4.0.25-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.25/CC-Switch-v4.0.25-Windows-arm64.msi'
$sha256 = '8F33347433A1E7A7332908970B7034A6ABCEC0977746AEC8E462049520CCAD3A'
$file = Join-Path $env:TEMP 'CC-Switch-v4.0.25-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