AdGuard DNS CLI ကို မေးခွန်းမမေးဘဲ ထည့်သွင်းရန်၊ ပြန်ဖယ်ရှားရန်နှင့် deployment ကိရိယာများမှ ထောက်လှမ်းရန် command များ ဖြစ်ပါသည်။ command တစ်ခုကို သေချာမှသာ ပြပါသည် — manifest မှ သို့မဟုတ် installer နည်းပညာ၏ မှတ်တမ်းတင်ထားသော မူလတန်ဖိုးမှ ဖြစ်ပါသည်။
ဆက်စပ် လမ်းညွှန်: အသံတိတ်ထည့်သွင်းခြင်း switch များ - MSI၊ NSIS၊ Inno Setup · Registry သို့မဟုတ် PowerShell ဖြင့် ပရိုဂရမ် ဖယ်ရှားနည်း
winget ဖြင့်
PowerShell
winget install --id AdGuard.AdGuardDNSCLI -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id AdGuard.AdGuardDNSCLI -e --silentwinget uninstall --id AdGuard.AdGuardDNSCLI -e --silentInstaller အလိုက်
64-bit · MSI · အသုံးပြုသူအားလုံး
အသံတိတ်ထည့်သွင်းခြင်း
msiexec /i AdGuardDNSCLI_windows_amd64.msi /qn /norestartLog ဖိုင် ရေးရန်
msiexec /i AdGuardDNSCLI_windows_amd64.msi /qn /norestart /l*v "%TEMP%\adguard-dns-cli-install.log"ဖယ်ရှားခြင်း (Uninstall)
msiexec /x {941C5942-5C4F-4FEC-86DF-B2FAD4AB5448} /qn /norestart- MSI product code
- {941C5942-5C4F-4FEC-86DF-B2FAD4AB5448}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{941C5942-5C4F-4FEC-86DF-B2FAD4AB5448}
- UpgradeCode
- {40391C3E-440C-4792-A62F-5E3F93FE7C3C}
- ထည့်သွင်းမည့် ဖိုင်တွဲ
- %ProgramFiles%\AdGuardDNSCLI
64-bit · ZIP
ထည့်သွင်းရန် မလိုပါ (portable)
ARM64 · MSI · အသုံးပြုသူအားလုံး
အသံတိတ်ထည့်သွင်းခြင်း
msiexec /i AdGuardDNSCLI_windows_arm64.msi /qn /norestartLog ဖိုင် ရေးရန်
msiexec /i AdGuardDNSCLI_windows_arm64.msi /qn /norestart /l*v "%TEMP%\adguard-dns-cli-install.log"ဖယ်ရှားခြင်း (Uninstall)
msiexec /x {941C5942-5C4F-4FEC-86DF-B2FAD4AB5448} /qn /norestart- MSI product code
- {941C5942-5C4F-4FEC-86DF-B2FAD4AB5448}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{941C5942-5C4F-4FEC-86DF-B2FAD4AB5448}
- UpgradeCode
- {40391C3E-440C-4792-A62F-5E3F93FE7C3C}
- ထည့်သွင်းမည့် ဖိုင်တွဲ
- %ProgramFiles%\AdGuardDNSCLI
ARM64 · ZIP
ထည့်သွင်းရန် မလိုပါ (portable)
32-bit · MSI · အသုံးပြုသူအားလုံး
အသံတိတ်ထည့်သွင်းခြင်း
msiexec /i AdGuardDNSCLI_windows_386.msi /qn /norestartLog ဖိုင် ရေးရန်
msiexec /i AdGuardDNSCLI_windows_386.msi /qn /norestart /l*v "%TEMP%\adguard-dns-cli-install.log"ဖယ်ရှားခြင်း (Uninstall)
msiexec /x {1B0E61B1-58F9-42F7-86A7-7F7CF5104C0F} /qn /norestart- MSI product code
- {1B0E61B1-58F9-42F7-86A7-7F7CF5104C0F}
- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{1B0E61B1-58F9-42F7-86A7-7F7CF5104C0F}
- UpgradeCode
- {40391C3E-440C-4792-A62F-5E3F93FE7C3C}
- ထည့်သွင်းမည့် ဖိုင်တွဲ
- %ProgramFiles(x86)%\AdGuardDNSCLI
32-bit · ZIP
ထည့်သွင်းရန် မလိုပါ (portable)
PowerShell - ဒေါင်းလုဒ်၊ စစ်ဆေး၊ ထည့်သွင်း
တရားဝင်ဖိုင်ကို ဒေါင်းလုဒ်လုပ်ပြီး SHA256 ကို စစ်ဆေးကာ အသံတိတ် ထည့်သွင်းပါသည်။
install-adguard-dns-cli.ps1
$url = 'https://github.com/AdguardTeam/AdGuardDNSCLI/releases/download/v0.2.1/AdGuardDNSCLI_windows_amd64.msi'
$sha256 = '481AFDA684A69EEE805653095A20E02E366A9BEB7C297B69A68D5AE7AC9898B8'
$file = Join-Path $env:TEMP 'AdGuardDNSCLI_windows_amd64.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-adguard-dns-cli.ps1
$url = 'https://github.com/AdguardTeam/AdGuardDNSCLI/releases/download/v0.2.1/AdGuardDNSCLI_windows_arm64.msi'
$sha256 = '6D27FFE247F5F5CBAF3B6697864E22BCA23C7C963B4E60417F6418CA422727A2'
$file = Join-Path $env:TEMP 'AdGuardDNSCLI_windows_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-adguard-dns-cli.ps1
$url = 'https://github.com/AdguardTeam/AdGuardDNSCLI/releases/download/v0.2.1/AdGuardDNSCLI_windows_386.msi'
$sha256 = '2870C1A6A1C13514A51EC106E02D2EC0EEE3EF019BB4D0DD4695BB90CB90D58F'
$file = Join-Path $env:TEMP 'AdGuardDNSCLI_windows_386.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