Befehle, um NcFTP Client 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 NcFTP.NcFTP -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id NcFTP.NcFTP -e --silentwinget uninstall --id NcFTP.NcFTP -e --silentNach Installer
32-Bit · MSI · en-US
Stille Installation
msiexec /i "Setup NcFTP 3.2.6.msi" /qn /norestartProtokoll schreiben
msiexec /i "Setup NcFTP 3.2.6.msi" /qn /norestart /l*v "%TEMP%\ncftp-client-install.log"Deinstallation
msiexec /x {97241218-5554-4EF3-8326-6C8E98951EB6} /qn /norestart- MSI-Produktcode
- {97241218-5554-4EF3-8326-6C8E98951EB6}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{97241218-5554-4EF3-8326-6C8E98951EB6}
- UpgradeCode
- {A21E5117-7E32-4F21-8BAB-AD53A293B20B}
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-ncftp-client.ps1
$url = 'https://www.ncftp.com/public_ftp/ncftp/older_binaries/Setup%20NcFTP%203.2.6.msi'
$sha256 = 'B034C6C11CB2B888733E047AE9DF494C8255E3D9DDFD0CBB2A6CCD98B02C79F2'
$file = Join-Path $env:TEMP 'Setup NcFTP 3.2.6.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