OpenSC smartcard framework을(를) 확인 창 없이 설치하고 제거하며, 배포 도구에서 감지하기 위한 명령어입니다. 매니페스트에 기재되어 있거나 설치 기술의 문서화된 기본값처럼 확실한 명령어만 표시합니다.
관련 가이드: 무인 설치(자동 설치) 옵션 총정리 · 레지스트리·PowerShell로 프로그램 제거
winget 사용
PowerShell
winget install --id OpenSC.OpenSC -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id OpenSC.OpenSC -e --silentwinget uninstall --id OpenSC.OpenSC -e --silent설치 파일별
64비트 · MSI · 모든 사용자 · en-US
무인 설치
msiexec /i OpenSC-0.27.1_x64.msi /qn /norestart로그 파일 저장
msiexec /i OpenSC-0.27.1_x64.msi /qn /norestart /l*v "%TEMP%\opensc-smartcard-framework-install.log"제거
msiexec /x {9D5A6608-E2DC-48F4-92DD-A44D56B83DE9} /qn /norestart- MSI 제품 코드
- {9D5A6608-E2DC-48F4-92DD-A44D56B83DE9}
- 제거 레지스트리 키
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9D5A6608-E2DC-48F4-92DD-A44D56B83DE9}
- UpgradeCode
- {9A449570-69A2-11E0-9CC6-955B4824019B}
- 설치 폴더
- %ProgramFiles%\OpenSC Project\OpenSC
32비트 · MSI · 모든 사용자 · en-US
무인 설치
msiexec /i OpenSC-0.27.1_x86.msi /qn /norestart로그 파일 저장
msiexec /i OpenSC-0.27.1_x86.msi /qn /norestart /l*v "%TEMP%\opensc-smartcard-framework-install.log"제거
msiexec /x {1946A0F8-901C-4D6F-961B-EC9ED09E41D8} /qn /norestart- MSI 제품 코드
- {1946A0F8-901C-4D6F-961B-EC9ED09E41D8}
- 제거 레지스트리 키
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{1946A0F8-901C-4D6F-961B-EC9ED09E41D8}
- UpgradeCode
- {69428F65-B96D-458D-BB87-DBB5FDB35DCE}
- 설치 폴더
- %ProgramFiles(x86)%\OpenSC Project\OpenSC
PowerShell: 다운로드, 검증, 설치
공식 파일을 다운로드하고 SHA256을 확인한 뒤 무인 설치합니다.
install-opensc-smartcard-framework.ps1
$url = 'https://github.com/OpenSC/OpenSC/releases/download/0.27.1/OpenSC-0.27.1_x64.msi'
$sha256 = '88EA45E848063FF5F3594A457B7F023223472EAE9C9C543F8035F7689BB7B319'
$file = Join-Path $env:TEMP 'OpenSC-0.27.1_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.ps1
$url = 'https://github.com/OpenSC/OpenSC/releases/download/0.27.1/OpenSC-0.27.1_x86.msi'
$sha256 = '266E1CC593922814A695951F9F39CAFE22D9334AB5E5AA96B607BD045A9DFE49'
$file = Join-Path $env:TEMP 'OpenSC-0.27.1_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