คำสั่งสำหรับติดตั้ง Proton Authenticator โดยไม่มีหน้าต่างถามตอบ ถอนการติดตั้ง และตรวจจับจากเครื่องมือกระจายซอฟต์แวร์ เราแสดงคำสั่งเฉพาะเมื่อแน่ใจเท่านั้น คือมาจากแมนิเฟสต์หรือค่าเริ่มต้นที่มีเอกสารของเทคโนโลยีตัวติดตั้งนั้น
คู่มือที่เกี่ยวข้อง: พารามิเตอร์ติดตั้งแบบเงียบ: MSI, NSIS, Inno Setup · ถอนการติดตั้งโปรแกรมผ่านรีจิสทรีหรือ PowerShell
ใช้ winget
PowerShell
winget install --id Proton.ProtonAuthenticator -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Proton.ProtonAuthenticator -e --silentwinget uninstall --id Proton.ProtonAuthenticator -e --silentแยกตามตัวติดตั้ง
64 บิต · MSI
ติดตั้งแบบเงียบ
msiexec /i ProtonAuthenticator_1.1.6_x64_en-US.msi /qn /norestartบันทึกไฟล์ log
msiexec /i ProtonAuthenticator_1.1.6_x64_en-US.msi /qn /norestart /l*v "%TEMP%\proton-authenticator-install.log"ถอนการติดตั้ง
msiexec /x {4C66F929-9917-4BE6-932F-2DE9F0C30DAA} /qn /norestart- รหัสผลิตภัณฑ์ MSI
- {4C66F929-9917-4BE6-932F-2DE9F0C30DAA}
- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{4C66F929-9917-4BE6-932F-2DE9F0C30DAA}
- UpgradeCode
- {BD9F3A14-1005-52A5-AAD8-364FB590262F}
- โฟลเดอร์ที่ติดตั้ง
- %ProgramFiles%/Proton Authenticator
PowerShell: ดาวน์โหลด ตรวจสอบ ติดตั้ง
ดาวน์โหลดไฟล์ทางการ ตรวจสอบค่า SHA256 แล้วติดตั้งแบบเงียบ
install-proton-authenticator.ps1
$url = 'https://proton.me/download/authenticator/windows/ProtonAuthenticator_1.1.6_x64_en-US.msi'
$sha256 = '52E5C0B28BE769910FBBF24724F552ED4A75DD8571BE1004DCF6992FBA3A2CB5'
$file = Join-Path $env:TEMP 'ProtonAuthenticator_1.1.6_x64_en-US.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