Ordres per instal·lar dnscrypt-proxy sense preguntes, desinstal·lar-lo i detectar-lo des d’eines de desplegament. Només es mostra una ordre quan és segura: la que indica el manifest o el valor per defecte documentat de la tecnologia de l’instal·lador.
Guia relacionada: Instal·lació silenciosa: MSI, NSIS, Inno Setup · Desinstal·lar un programa amb el registre o PowerShell
Amb 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 --silentPer instal·lador
64 bits · MSI · Tots els usuaris
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- Codi de producte MSI
- {F0AF69CD-F137-4540-AE0A-7BD2B01E93BD}
- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{F0AF69CD-F137-4540-AE0A-7BD2B01E93BD}
- UpgradeCode
- {FBF99DD8-C21E-4F9B-A632-DE53BB64C45E}
- Carpeta d’instal·lació
- %ProgramFiles%/DNSCrypt
64 bits · ZIP
No cal instal·lar-lo (portable)
ARM64 · ZIP
No cal instal·lar-lo (portable)
32 bits · MSI · Tots els usuaris
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- Codi de producte MSI
- {9460F497-2F2A-4291-BDB7-78FEA48A866A}
- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{9460F497-2F2A-4291-BDB7-78FEA48A866A}
- UpgradeCode
- {FBF99DD8-C21E-4F9B-A632-DE53BB64C45E}
- Carpeta d’instal·lació
- %ProgramFiles(x86)%/DNSCrypt
32 bits · ZIP
No cal instal·lar-lo (portable)
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
$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