Simple DNSCrypt ကို မေးခွန်းမမေးဘဲ ထည့်သွင်းရန်၊ ပြန်ဖယ်ရှားရန်နှင့် deployment ကိရိယာများမှ ထောက်လှမ်းရန် command များ ဖြစ်ပါသည်။ command တစ်ခုကို သေချာမှသာ ပြပါသည် — manifest မှ သို့မဟုတ် installer နည်းပညာ၏ မှတ်တမ်းတင်ထားသော မူလတန်ဖိုးမှ ဖြစ်ပါသည်။
ဆက်စပ် လမ်းညွှန်: အသံတိတ်ထည့်သွင်းခြင်း switch များ - MSI၊ NSIS၊ Inno Setup · Registry သို့မဟုတ် PowerShell ဖြင့် ပရိုဂရမ် ဖယ်ရှားနည်း
winget ဖြင့်
PowerShell
winget install --id bitbeans.SimpleDNSCrypt -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id bitbeans.SimpleDNSCrypt -e --silentwinget uninstall --id bitbeans.SimpleDNSCrypt -e --silentInstaller အလိုက်
64-bit · MSI · အသုံးပြုသူအားလုံး · en-US
အသံတိတ်ထည့်သွင်းခြင်း
msiexec /i SimpleDNSCrypt64.msi /qn /norestartLog ဖိုင် ရေးရန်
msiexec /i SimpleDNSCrypt64.msi /qn /norestart /l*v "%TEMP%\simple-dnscrypt-install.log"ဖယ်ရှားခြင်း (Uninstall)
msiexec /x {F21D078F-4055-462F-A9E9-468A4DE37F06} /qn /norestart- MSI product code
- {F21D078F-4055-462F-A9E9-468A4DE37F06}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{F21D078F-4055-462F-A9E9-468A4DE37F06}
32-bit · MSI · အသုံးပြုသူအားလုံး · en-US
အသံတိတ်ထည့်သွင်းခြင်း
msiexec /i SimpleDNSCrypt.msi /qn /norestartLog ဖိုင် ရေးရန်
msiexec /i SimpleDNSCrypt.msi /qn /norestart /l*v "%TEMP%\simple-dnscrypt-install.log"ဖယ်ရှားခြင်း (Uninstall)
msiexec /x {DC7ADCCF-7167-4524-96AC-9F1FCAD86880} /qn /norestart- MSI product code
- {DC7ADCCF-7167-4524-96AC-9F1FCAD86880}
- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{DC7ADCCF-7167-4524-96AC-9F1FCAD86880}
PowerShell - ဒေါင်းလုဒ်၊ စစ်ဆေး၊ ထည့်သွင်း
တရားဝင်ဖိုင်ကို ဒေါင်းလုဒ်လုပ်ပြီး SHA256 ကို စစ်ဆေးကာ အသံတိတ် ထည့်သွင်းပါသည်။
install-simple-dnscrypt.ps1
$url = 'https://github.com/bitbeans/SimpleDnsCrypt/releases/download/0.7.1/SimpleDNSCrypt64.msi'
$sha256 = '5BA0C94774ACD7ADE18446B4351E7D28A948C490AEFC50DC6C08C13551F19F7F'
$file = Join-Path $env:TEMP 'SimpleDNSCrypt64.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-simple-dnscrypt.ps1
$url = 'https://github.com/bitbeans/SimpleDnsCrypt/releases/download/0.7.1/SimpleDNSCrypt.msi'
$sha256 = 'CAC6B8119AF3DA70A5977A2E73EE5214303990FEDD7ABBC5F247A1E2CF19A663'
$file = Join-Path $env:TEMP 'SimpleDNSCrypt.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