Befehle, um Small Device C Compiler ohne Rückfragen zu installieren, wieder zu entfernen und in Verteilungswerkzeugen zu erkennen. Ein Befehl erscheint nur, wenn er feststeht: aus dem Manifest oder als dokumentierter Standard der jeweiligen Installer-Technik.
Passende Anleitung: Silent-Install-Parameter: MSI, NSIS, Inno Setup · Programm über Registry oder PowerShell deinstallieren
Mit winget
PowerShell
winget install --id SDCC.SDCC -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id SDCC.SDCC -e --silentwinget uninstall --id SDCC.SDCC -e --silentNach Installer
64-Bit · EXE (NSIS) · en-US
Stille Installation
download /SEigener Ordner
download /S /D=C:\Apps\small-device-c-compiler- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\SDCC
32-Bit · EXE (NSIS) · en-US
Stille Installation
download /SEigener Ordner
download /S /D=C:\Apps\small-device-c-compiler- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\SDCC
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-small-device-c-compiler.ps1
$url = 'https://sourceforge.net/projects/sdcc/files/sdcc-win64/4.5.0/sdcc-4.5.0-x64-setup.exe/download'
$sha256 = 'F459EFFE986F4C09F0EFA64877A753D44D3B78355C36B5055854A032F543AEC5'
$file = Join-Path $env:TEMP 'download'
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 install-small-device-c-compiler.ps1
$url = 'https://sourceforge.net/projects/sdcc/files/sdcc-win32/4.5.0/sdcc-4.5.0-setup.exe/download'
$sha256 = 'B6A4B951BF32678ECF66956199B43DF02DA3EAB10B945706A5206E6D30057F6E'
$file = Join-Path $env:TEMP 'download'
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