Befehle, um pyftpsync ohne Rückfragen zu installieren, wieder zu entfernen und in Verteilungswerkzeugen zu erkennen. Ein Befehl erscheint nur, wenn er feststeht: aus dem Manifest oder als dokumentierter Standard der jeweiligen Installer-Technik.
Passende Anleitung: Silent-Install-Parameter: MSI, NSIS, Inno Setup · Programm über Registry oder PowerShell deinstallieren
Mit winget
PowerShell
winget install --id mar10.pyftpsync -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id mar10.pyftpsync -e --silentwinget uninstall --id mar10.pyftpsync -e --silentNach Installer
64-Bit · MSI · en-US
Stille Installation
msiexec /i pyftpsync-4.1.0.0-win64.msi /qn /norestartProtokoll schreiben
msiexec /i pyftpsync-4.1.0.0-win64.msi /qn /norestart /l*v "%TEMP%\pyftpsync-install.log"Deinstallation
msiexec /x {8748FCBD-6966-47AA-8D3F-7B16C6B1D7FC} /qn /norestart- MSI-Produktcode
- {8748FCBD-6966-47AA-8D3F-7B16C6B1D7FC}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8748FCBD-6966-47AA-8D3F-7B16C6B1D7FC}
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-pyftpsync.ps1
$url = 'https://github.com/mar10/pyftpsync/releases/download/v4.1.0/pyftpsync-4.1.0.0-win64.msi'
$sha256 = 'C2B3CA6F340A8DE663B55A818E053A113D5BC5D5DB49E7868E1495328591F86A'
$file = Join-Path $env:TEMP 'pyftpsync-4.1.0.0-win64.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