Befehle, um OpenSC smartcard framework Light 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 OpenSC.OpenSC.Light -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id OpenSC.OpenSC.Light -e --silentwinget uninstall --id OpenSC.OpenSC.Light -e --silentNach Installer
64-Bit · MSI · Alle Benutzer
Stille Installation
msiexec /i OpenSC-0.27.1-Light_x64.msi /qn /norestartProtokoll schreiben
msiexec /i OpenSC-0.27.1-Light_x64.msi /qn /norestart /l*v "%TEMP%\opensc-smartcard-framework-light-install.log"Deinstallation
msiexec /x {DB8B4A3C-0B3B-49BD-B8AA-C5F6D68EFE89} /qn /norestart- MSI-Produktcode
- {DB8B4A3C-0B3B-49BD-B8AA-C5F6D68EFE89}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{DB8B4A3C-0B3B-49BD-B8AA-C5F6D68EFE89}
- UpgradeCode
- {9A449570-69A2-11E0-9CC6-955B4824019B}
- Installationsordner
- %ProgramFiles%/OpenSC Project/OpenSC
- DisplayVersion
- 0.27.1.1146
ARM64 · MSI · Alle Benutzer
Stille Installation
msiexec /i OpenSC-0.27.1-Light_arm64.msi /qn /norestartProtokoll schreiben
msiexec /i OpenSC-0.27.1-Light_arm64.msi /qn /norestart /l*v "%TEMP%\opensc-smartcard-framework-light-install.log"Deinstallation
msiexec /x {B4299280-E30F-4E49-9AE3-31E2D26E8E5C} /qn /norestart- MSI-Produktcode
- {B4299280-E30F-4E49-9AE3-31E2D26E8E5C}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{B4299280-E30F-4E49-9AE3-31E2D26E8E5C}
- UpgradeCode
- {63666C12-C4B5-4E55-87AF-3BABCD563C28}
- Installationsordner
- %ProgramFiles%/OpenSC Project/OpenSC_arm64
- DisplayVersion
- 0.27.1.1146
32-Bit · MSI · Alle Benutzer
Stille Installation
msiexec /i OpenSC-0.27.1-Light_x86.msi /qn /norestartProtokoll schreiben
msiexec /i OpenSC-0.27.1-Light_x86.msi /qn /norestart /l*v "%TEMP%\opensc-smartcard-framework-light-install.log"Deinstallation
msiexec /x {FD1AEAE1-D457-40DC-94D5-7840FA981FBF} /qn /norestart- MSI-Produktcode
- {FD1AEAE1-D457-40DC-94D5-7840FA981FBF}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{FD1AEAE1-D457-40DC-94D5-7840FA981FBF}
- UpgradeCode
- {69428F65-B96D-458D-BB87-DBB5FDB35DCE}
- Installationsordner
- %ProgramFiles(x86)%/OpenSC Project/OpenSC
- DisplayVersion
- 0.27.1.1146
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-opensc-smartcard-framework-light.ps1
$url = 'https://github.com/OpenSC/OpenSC/releases/download/0.27.1/OpenSC-0.27.1-Light_x64.msi'
$sha256 = '2DF6FB9078C5A6FC97D221F111158CB3F887E1E3C2DBB6892F58455A7015B5B8'
$file = Join-Path $env:TEMP 'OpenSC-0.27.1-Light_x64.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-opensc-smartcard-framework-light.ps1
$url = 'https://github.com/OpenSC/OpenSC/releases/download/0.27.1/OpenSC-0.27.1-Light_arm64.msi'
$sha256 = 'CBF5A60D9E9195CB51D3B48DFED4441EFF3B158D067196C88F1568C038F6D716'
$file = Join-Path $env:TEMP 'OpenSC-0.27.1-Light_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 install-opensc-smartcard-framework-light.ps1
$url = 'https://github.com/OpenSC/OpenSC/releases/download/0.27.1/OpenSC-0.27.1-Light_x86.msi'
$sha256 = 'E3CC46E14BC3C49054F974928440F748039D142855690766E997F2567C461BCE'
$file = Join-Path $env:TEMP 'OpenSC-0.27.1-Light_x86.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