Commands for installing CCExtractor 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 CCExtractor.CCExtractor -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id CCExtractor.CCExtractor -e --silentwinget uninstall --id CCExtractor.CCExtractor -e --silentBy installer
64-bit · MSI · All users · en-US
Silent install
msiexec /i CCExtractor.0.96.6.msi /qn /norestart /quietWrite a log
msiexec /i CCExtractor.0.96.6.msi /qn /norestart /quiet /l*v "%TEMP%\ccextractor-install.log"Uninstall
msiexec /x {9BD5D608-5618-4564-82CF-4B6D154E4F54} /qn /norestart- MSI product code
- {9BD5D608-5618-4564-82CF-4B6D154E4F54}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9BD5D608-5618-4564-82CF-4B6D154E4F54}
- UpgradeCode
- {E70DBE37-BB04-4C39-BEDC-966A6B073BCF}
- Install folder
- %ProgramFiles%\CCExtractor
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-ccextractor.ps1
$url = 'https://github.com/CCExtractor/ccextractor/releases/download/v0.96.6/CCExtractor.0.96.6.msi'
$sha256 = '570B14E8C3D550F684F204F5E2EC9830F109D0913AD528DF32C76D1AD0A89CAC'
$file = Join-Path $env:TEMP 'CCExtractor.0.96.6.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', '/quiet' -Wait