คำสั่งสำหรับติดตั้ง OpenSC smartcard framework Light โดยไม่มีหน้าต่างถามตอบ ถอนการติดตั้ง และตรวจจับจากเครื่องมือกระจายซอฟต์แวร์ เราแสดงคำสั่งเฉพาะเมื่อแน่ใจเท่านั้น คือมาจากแมนิเฟสต์หรือค่าเริ่มต้นที่มีเอกสารของเทคโนโลยีตัวติดตั้งนั้น
คู่มือที่เกี่ยวข้อง: พารามิเตอร์ติดตั้งแบบเงียบ: MSI, NSIS, Inno Setup · ถอนการติดตั้งโปรแกรมผ่านรีจิสทรีหรือ PowerShell
ใช้ 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 --silentแยกตามตัวติดตั้ง
64 บิต · MSI · ผู้ใช้ทุกคน
ติดตั้งแบบเงียบ
msiexec /i OpenSC-0.27.1-Light_x64.msi /qn /norestartบันทึกไฟล์ log
msiexec /i OpenSC-0.27.1-Light_x64.msi /qn /norestart /l*v "%TEMP%\opensc-smartcard-framework-light-install.log"ถอนการติดตั้ง
msiexec /x {DB8B4A3C-0B3B-49BD-B8AA-C5F6D68EFE89} /qn /norestart- รหัสผลิตภัณฑ์ MSI
- {DB8B4A3C-0B3B-49BD-B8AA-C5F6D68EFE89}
- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{DB8B4A3C-0B3B-49BD-B8AA-C5F6D68EFE89}
- UpgradeCode
- {9A449570-69A2-11E0-9CC6-955B4824019B}
- โฟลเดอร์ที่ติดตั้ง
- %ProgramFiles%/OpenSC Project/OpenSC
- DisplayVersion
- 0.27.1.1146
ARM64 · MSI · ผู้ใช้ทุกคน
ติดตั้งแบบเงียบ
msiexec /i OpenSC-0.27.1-Light_arm64.msi /qn /norestartบันทึกไฟล์ log
msiexec /i OpenSC-0.27.1-Light_arm64.msi /qn /norestart /l*v "%TEMP%\opensc-smartcard-framework-light-install.log"ถอนการติดตั้ง
msiexec /x {B4299280-E30F-4E49-9AE3-31E2D26E8E5C} /qn /norestart- รหัสผลิตภัณฑ์ MSI
- {B4299280-E30F-4E49-9AE3-31E2D26E8E5C}
- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{B4299280-E30F-4E49-9AE3-31E2D26E8E5C}
- UpgradeCode
- {63666C12-C4B5-4E55-87AF-3BABCD563C28}
- โฟลเดอร์ที่ติดตั้ง
- %ProgramFiles%/OpenSC Project/OpenSC_arm64
- DisplayVersion
- 0.27.1.1146
32 บิต · MSI · ผู้ใช้ทุกคน
ติดตั้งแบบเงียบ
msiexec /i OpenSC-0.27.1-Light_x86.msi /qn /norestartบันทึกไฟล์ log
msiexec /i OpenSC-0.27.1-Light_x86.msi /qn /norestart /l*v "%TEMP%\opensc-smartcard-framework-light-install.log"ถอนการติดตั้ง
msiexec /x {FD1AEAE1-D457-40DC-94D5-7840FA981FBF} /qn /norestart- รหัสผลิตภัณฑ์ MSI
- {FD1AEAE1-D457-40DC-94D5-7840FA981FBF}
- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{FD1AEAE1-D457-40DC-94D5-7840FA981FBF}
- UpgradeCode
- {69428F65-B96D-458D-BB87-DBB5FDB35DCE}
- โฟลเดอร์ที่ติดตั้ง
- %ProgramFiles(x86)%/OpenSC Project/OpenSC
- DisplayVersion
- 0.27.1.1146
PowerShell: ดาวน์โหลด ตรวจสอบ ติดตั้ง
ดาวน์โหลดไฟล์ทางการ ตรวจสอบค่า SHA256 แล้วติดตั้งแบบเงียบ
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