Ordres per instal·lar pot 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 Pylogmon.pot -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Pylogmon.pot -e --silentwinget uninstall --id Pylogmon.pot -e --silentPer instal·lador
64 bits · EXE (NSIS) · Tots els usuaris · en-US
Instal·lació silenciosa
pot_3.0.7_x64-setup.exe /SUna altra carpeta
pot_3.0.7_x64-setup.exe /S /D=C:\Apps\pot- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\pot
ARM64 · EXE (NSIS) · Tots els usuaris · en-US
Instal·lació silenciosa
pot_3.0.7_arm64-setup.exe /SUna altra carpeta
pot_3.0.7_arm64-setup.exe /S /D=C:\Apps\pot- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\pot
32 bits · EXE (NSIS) · Tots els usuaris · en-US
Instal·lació silenciosa
pot_3.0.7_x86-setup.exe /SUna altra carpeta
pot_3.0.7_x86-setup.exe /S /D=C:\Apps\pot- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\pot
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-pot.ps1
$url = 'https://github.com/pot-app/pot-desktop/releases/download/3.0.7/pot_3.0.7_x64-setup.exe'
$sha256 = '0A6AC5309BFC41234D58CF6615A779C66D167D3A0DA5542A0DE2EA118FC6BC56'
$file = Join-Path $env:TEMP 'pot_3.0.7_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-pot.ps1
$url = 'https://github.com/pot-app/pot-desktop/releases/download/3.0.7/pot_3.0.7_arm64-setup.exe'
$sha256 = 'FD478816FA62C137BC0C187A09B82AA37C52B8CCBD441EF715E87C02A45DBC0E'
$file = Join-Path $env:TEMP 'pot_3.0.7_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 install-pot.ps1
$url = 'https://github.com/pot-app/pot-desktop/releases/download/3.0.7/pot_3.0.7_x86-setup.exe'
$sha256 = 'FF9B69BEA285CA60B9F0075A740DC022F9BAF873221B14E2C20A960502F09761'
$file = Join-Path $env:TEMP 'pot_3.0.7_x86-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