Ordres per instal·lar EasyPostman 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 Laker.EasyPostman -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Laker.EasyPostman -e --silentwinget uninstall --id Laker.EasyPostman -e --silentPer instal·lador
64 bits · EXE (Inno Setup) · Tots els usuaris
Instal·lació silenciosa
EasyPostman-6.0.15-windows-x64.exe /SP- /VERYSILENT /SUPPRESSMSGBOXES /NORESTARTUna altra carpeta
EasyPostman-6.0.15-windows-x64.exe /SP- /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /DIR="C:\Apps\easypostman"- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\8B9C5D6E-7F8A-9B0C-1D2E-3F4A5B6C7D8E_is1
- Carpeta d’instal·lació
- %ProgramFiles%\EasyPostman
- DisplayVersion
- 6.0.15
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-easypostman.ps1
$url = 'https://github.com/lakernote/EasyPostman/releases/download/v6.0.15/EasyPostman-6.0.15-windows-x64.exe'
$sha256 = '44F1EA45761742CF61FA5CB81563EA0EA833AE4C8AC194B2984A8338A00FD310'
$file = Join-Path $env:TEMP 'EasyPostman-6.0.15-windows-x64.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 '/SP- /VERYSILENT /SUPPRESSMSGBOXES /NORESTART' -Wait