Populair: Gegevens bijgewerkt op 27 oktober 2026

Categorieën

Internet1.356
Communicatie321
Audio & video898
Grafisch & ontwerp539
Kantoor & productiviteit1.124
Ontwikkeltools3.134
AI-tools529
Beveiliging & privacy385
Systeemtools3.114
Gaming523
Onderwijs & wetenschap239
Netwerk & IT284

Cppcheck: stille installatie en verwijdering

Cppcheck is a static analysis tool for C/C++ code.

Commando’s om Cppcheck zonder vragen te installeren, weer te verwijderen en te detecteren in uitroltools. Een commando staat er alleen als het vaststaat: uit het manifest of als gedocumenteerde standaard van de installertechniek.

Gerelateerde handleiding: Stille installatie-parameters: MSI, NSIS, Inno Setup · Programma verwijderen via register of PowerShell

Met winget

PowerShell
winget install --id Cppcheck.Cppcheck -e --silent --accept-package-agreements --accept-source-agreements
winget upgrade --id Cppcheck.Cppcheck -e --silent
winget uninstall --id Cppcheck.Cppcheck -e --silent

Per installer

64-bits · MSI · Alle gebruikers

Stille installatiemsiexec /i cppcheck-2.22.0-x64-Setup.msi /qn /norestart
Logbestand schrijvenmsiexec /i cppcheck-2.22.0-x64-Setup.msi /qn /norestart /l*v "%TEMP%\cppcheck-install.log"
Verwijderenmsiexec /x {B9BB529E-C446-4B39-B047-B6B4DB91B62F} /qn /norestart
MSI-productcode
{B9BB529E-C446-4B39-B047-B6B4DB91B62F}
Registersleutel voor verwijderen
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{B9BB529E-C446-4B39-B047-B6B4DB91B62F}
UpgradeCode
{7E94124C-1CD1-433F-9423-4614E52300DD}
Installatiemap
%ProgramFiles%/Cppcheck

PowerShell: downloaden, controleren, installeren

Downloadt het officiële bestand, controleert de SHA256-hash en installeert stil.

install-cppcheck.ps1
$url = 'https://github.com/cppcheck-opensource/cppcheck/releases/download/2.22.0/cppcheck-2.22.0-x64-Setup.msi'
$sha256 = '3929162BAB7E71D1B9B18708EC054FB0188BFC8EA1660979ED95837F5A9F547B'
$file = Join-Path $env:TEMP 'cppcheck-2.22.0-x64-Setup.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