dnscrypt-proxy ကို မေးခွန်းမမေးဘဲ ထည့်သွင်းရန်၊ ပြန်ဖယ်ရှားရန်နှင့် deployment ကိရိယာများမှ ထောက်လှမ်းရန် command များ ဖြစ်ပါသည်။ command တစ်ခုကို သေချာမှသာ ပြပါသည် — manifest မှ သို့မဟုတ် installer နည်းပညာ၏ မှတ်တမ်းတင်ထားသော မူလတန်ဖိုးမှ ဖြစ်ပါသည်။
ဆက်စပ် လမ်းညွှန်: အသံတိတ်ထည့်သွင်းခြင်း switch များ - MSI၊ NSIS၊ Inno Setup · Registry သို့မဟုတ် PowerShell ဖြင့် ပရိုဂရမ် ဖယ်ရှားနည်း
winget ဖြင့်
winget install --id DNSCrypt.dnscrypt-proxy -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id DNSCrypt.dnscrypt-proxy -e --silentwinget uninstall --id DNSCrypt.dnscrypt-proxy -e --silentInstaller အလိုက်
64-bit · MSI · အသုံးပြုသူအားလုံး
msiexec /i dnscrypt-proxy-x64-2.1.20.msi /qn /norestartmsiexec /i dnscrypt-proxy-x64-2.1.20.msi /qn /norestart /l*v "%TEMP%\dnscrypt-proxy-install.log"msiexec /x {F0AF69CD-F137-4540-AE0A-7BD2B01E93BD} /qn /norestart- MSI product code
- {F0AF69CD-F137-4540-AE0A-7BD2B01E93BD}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{F0AF69CD-F137-4540-AE0A-7BD2B01E93BD}
- UpgradeCode
- {FBF99DD8-C21E-4F9B-A632-DE53BB64C45E}
- ထည့်သွင်းမည့် ဖိုင်တွဲ
- %ProgramFiles%/DNSCrypt
64-bit · ZIP
ထည့်သွင်းရန် မလိုပါ (portable)
ARM64 · ZIP
ထည့်သွင်းရန် မလိုပါ (portable)
32-bit · MSI · အသုံးပြုသူအားလုံး
msiexec /i dnscrypt-proxy-x86-2.1.20.msi /qn /norestartmsiexec /i dnscrypt-proxy-x86-2.1.20.msi /qn /norestart /l*v "%TEMP%\dnscrypt-proxy-install.log"msiexec /x {9460F497-2F2A-4291-BDB7-78FEA48A866A} /qn /norestart- MSI product code
- {9460F497-2F2A-4291-BDB7-78FEA48A866A}
- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{9460F497-2F2A-4291-BDB7-78FEA48A866A}
- UpgradeCode
- {FBF99DD8-C21E-4F9B-A632-DE53BB64C45E}
- ထည့်သွင်းမည့် ဖိုင်တွဲ
- %ProgramFiles(x86)%/DNSCrypt
32-bit · ZIP
ထည့်သွင်းရန် မလိုပါ (portable)
PowerShell - ဒေါင်းလုဒ်၊ စစ်ဆေး၊ ထည့်သွင်း
တရားဝင်ဖိုင်ကို ဒေါင်းလုဒ်လုပ်ပြီး SHA256 ကို စစ်ဆေးကာ အသံတိတ် ထည့်သွင်းပါသည်။
$url = 'https://github.com/DNSCrypt/dnscrypt-proxy/releases/download/2.1.20/dnscrypt-proxy-x64-2.1.20.msi'
$sha256 = '7BD55ADBCBC2FA0E94A8952C8D93A0A7F1E2B8E7A18E9DC66777A79D738524F3'
$file = Join-Path $env:TEMP 'dnscrypt-proxy-x64-2.1.20.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 $url = 'https://github.com/DNSCrypt/dnscrypt-proxy/releases/download/2.1.20/dnscrypt-proxy-x86-2.1.20.msi'
$sha256 = 'EAA7746DB2FC38F52E1445D05ECE7F42F4DA4499C787C2D66B503B80BBFF206A'
$file = Join-Path $env:TEMP 'dnscrypt-proxy-x86-2.1.20.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