Ordres per instal·lar KeyEcho 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
PowerShell
winget install --id ZacharyL2.KeyEcho -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id ZacharyL2.KeyEcho -e --silentwinget uninstall --id ZacharyL2.KeyEcho -e --silentPer instal·lador
64 bits · EXE (NSIS) · en-US
Instal·lació silenciosa
KeyEcho_1.1.1_x64-setup.exe /SUna altra carpeta
KeyEcho_1.1.1_x64-setup.exe /S /D=C:\Apps\keyecho- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\KeyEcho
ARM64 · EXE (NSIS) · en-US
Instal·lació silenciosa
KeyEcho_1.1.1_arm64-setup.exe /SUna altra carpeta
KeyEcho_1.1.1_arm64-setup.exe /S /D=C:\Apps\keyecho- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\KeyEcho
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-keyecho.ps1
$url = 'https://github.com/ZacharyL2/KeyEcho/releases/download/v1.1.1/KeyEcho_1.1.1_x64-setup.exe'
$sha256 = '934F20B31112CD096B189D7433799DACA3A1267F5B8CC6ED532A2A9610734A25'
$file = Join-Path $env:TEMP 'KeyEcho_1.1.1_x64-setup.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/S' -Wait install-keyecho.ps1
$url = 'https://github.com/ZacharyL2/KeyEcho/releases/download/v1.1.1/KeyEcho_1.1.1_arm64-setup.exe'
$sha256 = 'FA2BD324B67C4A927612A4ED2883633B683FD4B99721D2C72A8FBADFDC89C4EE'
$file = Join-Path $env:TEMP 'KeyEcho_1.1.1_arm64-setup.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/S' -Wait