Befehle, um PDFsam Basic 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 PDFsam.PDFsam -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id PDFsam.PDFsam -e --silentwinget uninstall --id PDFsam.PDFsam -e --silentNach Installer
64-Bit · MSI · Alle Benutzer
Stille Installation
msiexec /i pdfsam-basic-6.0.6-windows-x64.msi /qn /norestart /quiet /norestart SKIPTHANKSPAGE=YesProtokoll schreiben
msiexec /i pdfsam-basic-6.0.6-windows-x64.msi /qn /norestart /quiet /norestart SKIPTHANKSPAGE=Yes /l*v "%TEMP%\pdfsam-basic-install.log"Deinstallation
msiexec /x {3712C9D8-9FE8-4DDA-B75C-E0214767B60B} /qn /norestart- MSI-Produktcode
- {3712C9D8-9FE8-4DDA-B75C-E0214767B60B}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{3712C9D8-9FE8-4DDA-B75C-E0214767B60B}
- UpgradeCode
- {DB40FA48-1629-11E2-9401-2F676188709B}
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-pdfsam-basic.ps1
$url = 'https://github.com/torakiki/pdfsam/releases/download/v6.0.6/pdfsam-basic-6.0.6-windows-x64.msi'
$sha256 = '210996DB06D202A30AC23E23ED3EFDF9C3396894481ABFBC97BC26945A6C6346'
$file = Join-Path $env:TEMP 'pdfsam-basic-6.0.6-windows-x64.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', '/quiet /norestart SKIPTHANKSPAGE=Yes' -Wait